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

Function tick

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

* Trigger the onTick function to process the fastTimers array. * Exported for testing purposes only. * Marking as deprecated to discourage any use outside of testing. * @deprecated * @param {number} [delay=0] The delay in milliseconds to add to the now value.

(delay = 0)

Source from the content-addressed store, hash-verified

2623 }
2624 /**
2625 * The `clear` method cancels the timer, preventing it from executing.
2626 *
2627 * @returns {void}
2628 * @private
2629 */
2630 clear() {
2631 this._state = TO_BE_CLEARED;
2632 this._idleStart = -1;

Callers

nothing calls this directly

Calls 1

onTickFunction · 0.70

Tested by

no test coverage detected