![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | test/ | 2 years ago | - | |
![]() | package.json | 2 years ago | 760 | 2324c9f added npm start script [كارل مبارك] |
![]() | index.js | 2 years ago | 2.0K | 8b8b68d rm everythin MOTD related [كارل مبارك] |
![]() | README.md | 2 years ago | 1.5K | 9b1f1b9 rm old utils [كارل مبارك] |
![]() | LICENSE | 2 years ago | 773 | |
![]() | CHANGES | 2 years ago | 947 | |
![]() | CHANGELOG.md | 2 years 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.