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

Function triggerIdleCallbacks

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

Source from the content-addressed store, hash-verified

1804 };
1805
1806 const triggerIdleCallbacks = () => {
1807 for (const [_, callback] of onIdleCallbackQueue) {
1808 idleCallbacksInvoked++;
1809 callback(null!);
1810 }
1811 onIdleCallbackQueue.clear();
1812 };
1813
1814 beforeEach(() => {
1815 nativeRequestIdleCallback = globalThis.requestIdleCallback;

Callers 1

defer_spec.tsFile · 0.70

Calls 2

callbackFunction · 0.50
clearMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…