MCPcopy Index your code
hub / github.com/nodejs/node / setImmediate

Function setImmediate

lib/timers.js:207–210  ·  view source on GitHub ↗

* Schedules the immediate execution of `callback` * after I/O events' callbacks. * @param {Function} callback * @param {...any} [args] * @returns {Immediate}

(callback, ...args)

Source from the content-addressed store, hash-verified

205 * @returns {Immediate}
206 */
207function setImmediate(callback, ...args) {
208 validateFunction(callback, 'callback');
209 return new Immediate(callback, args.length ? args : undefined);
210}
211
212ObjectDefineProperty(setImmediate, customPromisify, {
213 __proto__: null,

Callers 15

freeParserFunction · 0.70
sendFunction · 0.50
mainFunction · 0.50
benchELUSimpleFunction · 0.50
benchELUPassedFunction · 0.50
mainFunction · 0.50
endAfterGCFunction · 0.50
onsendConcatFunction · 0.50
onsendMultiFunction · 0.50
onsendFunction · 0.50
onsendFunction · 0.50
onsendFunction · 0.50

Calls

no outgoing calls

Tested by 3

testFunction · 0.40
testFunction · 0.40
testFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…