ispt4.0_laravel/node_modules/queue-tick
2024-05-20 14:47:55 +01:00
..
.github/workflows Creating a pdf model of the structure and updating the addition of extra equipment. 2024-05-20 14:47:55 +01:00
LICENSE Creating a pdf model of the structure and updating the addition of extra equipment. 2024-05-20 14:47:55 +01:00
package.json Creating a pdf model of the structure and updating the addition of extra equipment. 2024-05-20 14:47:55 +01:00
process-next-tick.js Creating a pdf model of the structure and updating the addition of extra equipment. 2024-05-20 14:47:55 +01:00
queue-microtask.js Creating a pdf model of the structure and updating the addition of extra equipment. 2024-05-20 14:47:55 +01:00
README.md Creating a pdf model of the structure and updating the addition of extra equipment. 2024-05-20 14:47:55 +01:00
test.js Creating a pdf model of the structure and updating the addition of extra equipment. 2024-05-20 14:47:55 +01:00

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