Socket
Socket
Sign inDemoInstall

cancellable-next-tick

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cancellable-next-tick

Wrapper around process.nextTick returning a cancel function


Version published
Maintainers
1
Install size
5.34 kB
Created

Readme

Source

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

Keywords

FAQs

Last updated on 30 May 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc