Returns the global process.nextTick function if available, otherwise null.
process.nextTick
null
The returned function matches the Node.js signature and supports variadic callback arguments.
0.15.0
const nextTickFn = getProcessNextTick();if (nextTickFn) { nextTickFn((value: string) => { console.log("process.nextTick", value); }, "works-with-args");} Copy
const nextTickFn = getProcessNextTick();if (nextTickFn) { nextTickFn((value: string) => { console.log("process.nextTick", value); }, "works-with-args");}
Returns the global
process.nextTickfunction if available, otherwisenull.The returned function matches the Node.js signature and supports variadic callback arguments.