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

Function registerLView

packages/core/src/render3/interfaces/lview_tracking.ts:25–28  ·  view source on GitHub ↗
(lView: LView)

Source from the content-addressed store, hash-verified

23
24/** Starts tracking an LView. */
25export function registerLView(lView: LView): void {
26 ngDevMode && assertNumber(lView[ID], 'LView must have an ID in order to be registered');
27 TRACKED_LVIEWS.set(lView[ID], lView);
28}
29
30/** Gets an LView by its unique ID. */
31export function getLViewById(id: number): LView | null {

Callers 1

attachPatchDataFunction · 0.90

Calls 2

assertNumberFunction · 0.90
setMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…