MCPcopy
hub / github.com/angular/angular / getLDeferBlockDetails

Function getLDeferBlockDetails

packages/core/src/defer/utils.ts:36–41  ·  view source on GitHub ↗
(lView: LView, tNode: TNode)

Source from the content-addressed store, hash-verified

34
35/** Retrieves a defer block state from an LView, given a TNode that represents a block. */
36export function getLDeferBlockDetails(lView: LView, tNode: TNode): LDeferBlockDetails {
37 const tView = lView[TVIEW];
38 const slotIndex = getDeferBlockDataIndex(tNode.index);
39 ngDevMode && assertIndexInDeclRange(tView, slotIndex);
40 return lView[slotIndex];
41}
42
43/** Stores a defer block instance state in LView. */
44export function setLDeferBlockDetails(

Callers 15

deferBlockFinderFunction · 0.90
serializeLContainerFunction · 0.90
ɵɵdeferWhenFunction · 0.90
ɵɵdeferHydrateWhenFunction · 0.90
renderDeferBlockStateFunction · 0.90
getTriggerLViewFunction · 0.90
pollDomTriggerFunction · 0.90
scheduleDelayedTriggerFunction · 0.90
scheduleDelayedHydratingFunction · 0.90
triggerResourceLoadingFunction · 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…