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 return this[kDispatch](opts, handler);
2460 }
2461 let dispatch = this[kDispatch].bind(this);
2462 for (let i = this[kInterceptors].length - 1; i >= 0; i--) {
2463 dispatch = this[kInterceptors][i](dispatch);
2464 }
2465 this[kInterceptedDispatch] = dispatch;
2466 return dispatch(opts, handler);
2467 }
2468 dispatch(opts, handler) {
2469 if (!handler || typeof handler !== "object") {
2470 throw new InvalidArgumentError("handler must be an object");
2471 }
2472 try {
2473 if (!opts || typeof opts !== "object") {
2474 throw new InvalidArgumentError("opts must be an object.");

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