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

Function refreshTimeout

deps/undici/undici.js:1122–1130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1120 }
1121 __name(onTick, "onTick");
1122 function refreshTimeout() {
1123 if (fastNowTimeout?.refresh) {
1124 fastNowTimeout.refresh();
1125 } else {
1126 clearTimeout(fastNowTimeout);
1127 fastNowTimeout = setTimeout(onTick, TICK_MS);
1128 fastNowTimeout?.unref();
1129 }
1130 }
1131 __name(refreshTimeout, "refreshTimeout");
1132 var FastTimer = class {
1133 static {

Callers 2

onTickFunction · 0.70
refreshMethod · 0.70

Calls 4

clearTimeoutFunction · 0.70
setTimeoutFunction · 0.70
refreshMethod · 0.45
unrefMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…