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

Function setTDeferBlockDetails

packages/core/src/defer/utils.ts:63–71  ·  view source on GitHub ↗
(
  tView: TView,
  deferBlockIndex: number,
  deferBlockConfig: TDeferBlockDetails,
)

Source from the content-addressed store, hash-verified

61
62/** Stores a defer block static info in `TView.data`. */
63export function setTDeferBlockDetails(
64 tView: TView,
65 deferBlockIndex: number,
66 deferBlockConfig: TDeferBlockDetails,
67) {
68 const slotIndex = getDeferBlockDataIndex(deferBlockIndex);
69 ngDevMode && assertIndexInDeclRange(tView, slotIndex);
70 tView.data[slotIndex] = deferBlockConfig;
71}
72
73export function getTemplateIndexForState(
74 newState: DeferBlockState,

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…