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

Function _cancelIdleCallback

packages/core/src/defer/idle_service.ts:29–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 ).bind(globalThis) as RequestIdle;
28
29const _cancelIdleCallback = () =>
30 (typeof requestIdleCallback !== 'undefined' ? cancelIdleCallback : clearTimeout).bind(globalThis);
31
32/**
33 * Service which configures custom 'on idle' behavior for Angular features like `@defer`.

Callers 1

Calls 1

bindMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…