Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
test.js | 2024-05-21 17:04 | 208 | ||
queue-microtask.js | 2024-05-21 17:04 | 108 | ||
process-next-tick.js | 2024-05-21 17:04 | 160 | ||
package.json | 2024-05-21 17:04 | 669 | afd0ccc remove unused [كارل مبارك] | |
README.md | 2024-05-21 17:04 | 313 | 595aea1 more query options + view options [كارل مبارك] | |
LICENSE | 2024-05-21 17:04 | 1.1K |
# queue-tick Next tick shim that prefers process.nextTick over queueMicrotask for compat ``` npm install queue-tick ``` ## Usage ``` js const queueTick = require('queue-tick') // in Node it uses process.nextTick, in browsers it uses queueMicrotask queueTick(() => console.log('laters')) ``` ## License MIT