Mohammad Asif cf937194cb Removed un-waned things 1. | il y a 5 mois | |
---|---|---|
.. | ||
.github | il y a 5 mois | |
test | il y a 5 mois | |
.editorconfig | il y a 5 mois | |
.lint | il y a 5 mois | |
CHANGELOG.md | il y a 5 mois | |
CHANGES | il y a 5 mois | |
LICENSE | il y a 5 mois | |
README.md | il y a 5 mois | |
index.js | il y a 5 mois | |
package.json | il y a 5 mois |
To be used in environment agnostic modules that need nextTick functionality.
process.nextTick
is usedqueueMicrotask
MutationObserver
is used as a fallbacksetImmediate
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.