vlad 6f123ff03e 18.07 | 6 years ago | |
---|---|---|
.. | ||
test | 6 years ago | |
.lint | 6 years ago | |
.npmignore | 6 years ago | |
.travis.yml | 6 years ago | |
CHANGES | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
index.js | 6 years ago | |
package.json | 6 years ago |
To be used in environment agnostic modules that need nextTick functionality.
process.nextTick
is usedMutationObserver
setImmediate
or setTimeout(fn, 0)
is used as fallback.null
In your project path:
$ npm install next-tick
You can easily bundle next-tick
for browser with any CJS bundler, e.g. modules-webmake
$ npm test