|
sfcode
An Online Competing and Development Environment
|
To be used in environment agnostic modules that need nextTick functionality.
process.nextTick is usedMutationObserversetImmediate or setTimeout(fn, 0) is used as fallback.nullIn 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