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

Function refreshTimeout

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

Source from the content-addressed store, hash-verified

2459 } else {
2460 ++idx;
2461 }
2462 }
2463 fastTimers.length = len;
2464 if (fastTimers.length !== 0) {
2465 refreshTimeout();
2466 }
2467 }
2468 function refreshTimeout() {
2469 if (fastNowTimeout) {
2470 fastNowTimeout.refresh();
2471 } else {
2472 clearTimeout(fastNowTimeout);
2473 fastNowTimeout = setTimeout(onTick, TICK_MS);
2474 if (fastNowTimeout.unref) {

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