sensordb2 e64a8defe5 3.17 | há 1 ano atrás | |
---|---|---|
.. | ||
.github | há 1 ano atrás | |
test | há 1 ano atrás | |
.editorconfig | há 1 ano atrás | |
.lint | há 1 ano atrás | |
CHANGELOG.md | há 1 ano atrás | |
CHANGES | há 1 ano atrás | |
LICENSE | há 1 ano atrás | |
README.md | há 1 ano atrás | |
index.js | há 1 ano atrás | |
package.json | há 1 ano atrás |
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.