Mohammad Asif cf937194cb Removed un-waned things 1. 5 ay önce
..
.github cf937194cb Removed un-waned things 1. 5 ay önce
LICENSE cf937194cb Removed un-waned things 1. 5 ay önce
README.md cf937194cb Removed un-waned things 1. 5 ay önce
package.json cf937194cb Removed un-waned things 1. 5 ay önce
process-next-tick.js cf937194cb Removed un-waned things 1. 5 ay önce
queue-microtask.js cf937194cb Removed un-waned things 1. 5 ay önce
test.js cf937194cb Removed un-waned things 1. 5 ay önce

README.md

queue-tick

Next tick shim that prefers process.nextTick over queueMicrotask for compat

npm install queue-tick

Usage

const queueTick = require('queue-tick')

// in Node it uses process.nextTick, in browsers it uses queueMicrotask
queueTick(() => console.log('laters'))

License

MIT