MCPcopy Create free account
hub / github.com/angular/dev-infra / refreshTimeout

Function refreshTimeout

github-actions/browserstack/set-browserstack-env.js:2461–2471  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2459 }
2460 }
2461 function refreshTimeout() {
2462 if (fastNowTimeout) {
2463 fastNowTimeout.refresh();
2464 } else {
2465 clearTimeout(fastNowTimeout);
2466 fastNowTimeout = setTimeout(onTick, TICK_MS);
2467 if (fastNowTimeout.unref) {
2468 fastNowTimeout.unref();
2469 }
2470 }
2471 }
2472 var _a;
2473 var FastTimer = class {
2474 /**

Callers 2

onTickFunction · 0.70
refreshMethod · 0.70

Calls 3

clearTimeoutFunction · 0.70
setTimeoutFunction · 0.70
refreshMethod · 0.45

Tested by

no test coverage detected