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

Function clearTimeout

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

* The clearTimeout method cancels an instantiated Timer previously created * by calling setTimeout. * * @param {NodeJS.Timeout|FastTimer} timeout

(timeout)

Source from the content-addressed store, hash-verified

2578 __publicField(this, "_idleTimeout", -1);
2579 /**
2580 * The time in milliseconds when the timer was started. This value is used to
2581 * calculate when the timer should expire.
2582 *
2583 * @type {number}
2584 * @default -1
2585 * @private
2586 */
2587 __publicField(this, "_idleStart", -1);
2588 /**
2589 * The function to be executed when the timer expires.

Callers 4

refreshTimeoutFunction · 0.70
resetFunction · 0.70
_setResultMethod · 0.70

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected