codeql-action/node_modules/queue-tick
Angela P Wen a196a714b8
Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482)
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
Co-authored-by: Henry Mercer <henrymercer@github.com>
2024-10-01 09:59:05 -07:00
..
.github/workflows Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482) 2024-10-01 09:59:05 -07:00
LICENSE Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482) 2024-10-01 09:59:05 -07:00
package.json Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482) 2024-10-01 09:59:05 -07:00
process-next-tick.js Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482) 2024-10-01 09:59:05 -07:00
queue-microtask.js Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482) 2024-10-01 09:59:05 -07:00
README.md Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482) 2024-10-01 09:59:05 -07:00
test.js Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482) 2024-10-01 09:59:05 -07: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