cancellable-next-tick
v1.0.3
Published
Wrapper around process.nextTick returning a cancel function
Downloads
12
Maintainers
Readme
cancellable-next-tick
Wrapper around process.nextTick returning a cancel function
example usage
var cancellableNextTick = require('cancellable-next-tick');
var cancel = cancellableNextTick(function(){
// execution never reaches here
});
cancel();
example use case
Check out this example
changelog
1.0.3
- Enhanced model example
- Added standard badges & shields
1.0.2
- Added 'model' example as use-case example
1.0.1
- Enhanced readme
- Enhanced package.json