MCPcopy
hub / github.com/angular/angular / getPrimaryBlockTNode

Function getPrimaryBlockTNode

packages/core/src/defer/utils.ts:138–141  ·  view source on GitHub ↗
(tView: TView, tDetails: TDeferBlockDetails)

Source from the content-addressed store, hash-verified

136
137/** Retrieves a TNode that represents main content of a defer block. */
138export function getPrimaryBlockTNode(tView: TView, tDetails: TDeferBlockDetails): TContainerNode {
139 const adjustedIndex = tDetails.primaryTmplIndex + HEADER_OFFSET;
140 return getTNode(tView, adjustedIndex) as TContainerNode;
141}
142
143/**
144 * Asserts whether all dependencies for a defer block are loaded.

Callers 1

triggerResourceLoadingFunction · 0.90

Calls 1

getTNodeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…