MCPcopy
hub / github.com/di-sukharev/opencommit / refreshTimeout

Function refreshTimeout

out/cli.cjs:48177–48187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48175 }
48176 }
48177 function refreshTimeout() {
48178 if (fastNowTimeout && fastNowTimeout.refresh) {
48179 fastNowTimeout.refresh();
48180 } else {
48181 clearTimeout(fastNowTimeout);
48182 fastNowTimeout = setTimeout(onTimeout, 1e3);
48183 if (fastNowTimeout.unref) {
48184 fastNowTimeout.unref();
48185 }
48186 }
48187 }
48188 var Timeout = class {
48189 constructor(callback, delay3, opaque) {
48190 this.callback = callback;

Callers 2

onTimeoutFunction · 0.85
refreshMethod · 0.85

Calls 3

clearTimeoutFunction · 0.85
setTimeoutFunction · 0.85
refreshMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…