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

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