MCPcopy Index your code
hub / github.com/angular/angular / resetCounters

Function resetCounters

packages/core/test/acceptance/defer_spec.ts:1750–1757  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1748 const idToTimeout = new Map<number, string>();
1749
1750 function resetCounters() {
1751 idleCallbacksRequested = 0;
1752 idleCallbacksInvoked = 0;
1753 idleCallbacksCancelled = 0;
1754 capturedOptions = undefined;
1755 activePerTimeout.clear();
1756 idToTimeout.clear();
1757 }
1758 resetCounters();
1759
1760 let nativeRequestIdleCallback: (

Callers 1

defer_spec.tsFile · 0.70

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…