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

Method refresh

github-actions/browserstack/set-browserstack-env.js:2538–2546  ·  view source on GitHub ↗

* Sets the timer's start time to the current time, and reschedules the timer * to call its callback at the previously specified duration adjusted to the * current time. * Using this on a timer that has already called its callback will reactivate * the timer.

()

Source from the content-addressed store, hash-verified

2536 }
2537 }
2538 function refreshTimeout() {
2539 if (fastNowTimeout) {
2540 fastNowTimeout.refresh();
2541 } else {
2542 clearTimeout(fastNowTimeout);
2543 fastNowTimeout = setTimeout(onTick, TICK_MS);
2544 if (fastNowTimeout.unref) {
2545 fastNowTimeout.unref();
2546 }
2547 }
2548 }
2549 var _a;

Callers 8

refreshTimeoutFunction · 0.45
constructorMethod · 0.45
setTimeoutMethod · 0.45
resumeMethod · 0.45
onHeadersCompleteMethod · 0.45
onBodyMethod · 0.45
writeMethod · 0.45
endMethod · 0.45

Calls 2

refreshTimeoutFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected