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

Function prefetch

packages/core/src/defer/triggering.ts:122–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 if (tDetails.loadingState === DeferDependenciesLoadingState.NOT_STARTED) {
121 const lDetails = getLDeferBlockDetails(lView, tNode);
122 const prefetch = () => triggerPrefetching(tDetails, lView, tNode);
123 const cleanupFn = scheduleFn(prefetch, injector);
124 storeTriggerCleanupFn(TriggerType.Prefetch, lDetails, cleanupFn);
125 }

Callers

nothing calls this directly

Calls 1

triggerPrefetchingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…