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

Function setUnrefTimeout

lib/internal/timers.js:410–418  ·  view source on GitHub ↗
(callback, after)

Source from the content-addressed store, hash-verified

408}
409
410function setUnrefTimeout(callback, after) {
411 // Type checking identical to setTimeout()
412 validateFunction(callback, 'callback');
413
414 const timer = new Timeout(callback, after, undefined, false, false);
415 insert(timer, timer._idleTimeout);
416
417 return timer;
418}
419
420// Type checking used by timers.enroll() and Socket#setTimeout()
421function getTimerDuration(msecs, name) {

Callers 3

cacheFunction · 0.85
setStreamTimeoutFunction · 0.85

Calls 1

insertFunction · 0.85

Tested by

no test coverage detected