Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
LICENSE | 2024-05-21 17:04 | 1.1K | ||
README.md | 2024-05-21 17:04 | 313 | 595aea1 more query options + view options [كارل مبارك] | |
package.json | 2024-05-21 17:04 | 669 | afd0ccc remove unused [كارل مبارك] | |
process-next-tick.js | 2024-05-21 17:04 | 160 | ||
queue-microtask.js | 2024-05-21 17:04 | 108 | ||
test.js | 2024-05-21 17:04 | 208 |
# 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