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

Function setLDeferBlockDetails

packages/core/src/defer/utils.ts:44–53  ·  view source on GitHub ↗
(
  lView: LView,
  deferBlockIndex: number,
  lDetails: LDeferBlockDetails,
)

Source from the content-addressed store, hash-verified

42
43/** Stores a defer block instance state in LView. */
44export function setLDeferBlockDetails(
45 lView: LView,
46 deferBlockIndex: number,
47 lDetails: LDeferBlockDetails,
48) {
49 const tView = lView[TVIEW];
50 const slotIndex = getDeferBlockDataIndex(deferBlockIndex);
51 ngDevMode && assertIndexInDeclRange(tView, slotIndex);
52 lView[slotIndex] = lDetails;
53}
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 {

Callers 1

ɵɵdeferFunction · 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…