![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | test/ | 8 months ago | - | |
![]() | package.json | 8 months ago | 760 | |
![]() | index.js | 8 months ago | 2.0K | |
![]() | README.md | 8 months ago | 1.5K | |
![]() | LICENSE | 8 months ago | 773 | |
![]() | CHANGES | 8 months ago | 947 | |
![]() | CHANGELOG.md | 8 months ago | 540 |
To be used in environment agnostic modules that need nextTick functionality.
process.nextTick
is usedqueueMicrotask
MutationObserver
is used as a fallback setImmediate
or setTimeout(fn, 0)
is used as fallback.null
In your project path:
$ npm install next-tick
To port it to Browser or any other (non CJS) environment, use your favorite CJS bundler. No favorite yet? Try: Browserify, Webmake or Webpack
$ npm test
To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.