Mohammad Asif cf937194cb Removed un-waned things 1. | 6 ヶ月 前 | |
---|---|---|
.. | ||
.github | 6 ヶ月 前 | |
LICENSE | 6 ヶ月 前 | |
README.md | 6 ヶ月 前 | |
package.json | 6 ヶ月 前 | |
process-next-tick.js | 6 ヶ月 前 | |
queue-microtask.js | 6 ヶ月 前 | |
test.js | 6 ヶ月 前 |
Next tick shim that prefers process.nextTick over queueMicrotask for compat
npm install queue-tick
const queueTick = require('queue-tick')
// in Node it uses process.nextTick, in browsers it uses queueMicrotask
queueTick(() => console.log('laters'))
MIT