cancellable-next-tick

v1.0.2
Wrapper around process.nextTick returning a cancel function
nextTick next tick wrap wrapper cancel cancellable cancelling clear and 4 more...

cancellable-next-tick

Wrapper around process.nextTick returning a cancel function

build status dependencies dev-dependencies

npm

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

Metadata

  • MIT
  • Whatever
  • Matthew Francis Brunetti
  • released 5/29/2015

Downloads

Maintainers