MCPcopy Create free account
hub / github.com/angular/angular / onIdleWrapper

Function onIdleWrapper

packages/core/src/defer/idle_scheduler.ts:30–32  ·  view source on GitHub ↗
(options?: IdleRequestOptions)

Source from the content-addressed store, hash-verified

28}
29
30export function onIdleWrapper(options?: IdleRequestOptions) {
31 return (callback: VoidFunction, injector: Injector) => onIdle(callback, injector, options);
32}
33
34/**
35 * A bucket groups callbacks sharing the same idle request options into a single

Callers 3

ɵɵdeferOnIdleFunction · 0.90
ɵɵdeferPrefetchOnIdleFunction · 0.90
ɵɵdeferHydrateOnIdleFunction · 0.90

Calls 1

onIdleFunction · 0.70

Tested by

no test coverage detected