Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
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 [كارل مبارك] | |
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 | ||
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