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

Function getTDeferBlockDetails

packages/core/src/defer/utils.ts:56–60  ·  view source on GitHub ↗
(tView: TView, tNode: TNode)

Source from the content-addressed store, hash-verified

54
55/** Retrieves static info about a defer block, given a TView and a TNode that represents a block. */
56export function getTDeferBlockDetails(tView: TView, tNode: TNode): TDeferBlockDetails {
57 const slotIndex = getDeferBlockDataIndex(tNode.index);
58 ngDevMode && assertIndexInDeclRange(tView, slotIndex);
59 return tView.data[slotIndex] as TDeferBlockDetails;
60}
61
62/** Stores a defer block static info in `TView.data`. */
63export function setTDeferBlockDetails(

Callers 15

deferBlockFinderFunction · 0.90
serializeLContainerFunction · 0.90
ɵɵdeferPrefetchWhenFunction · 0.90
ɵɵdeferOnImmediateFunction · 0.90
ɵɵdeferPrefetchOnHoverFunction · 0.90
renderDeferBlockStateFunction · 0.90
applyDeferBlockStateFunction · 0.90
getDeferBlocksFunction · 0.90

Calls 2

assertIndexInDeclRangeFunction · 0.90
getDeferBlockDataIndexFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…