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

Function cleanupHydratedDeferBlocks

packages/core/src/hydration/cleanup.ts:152–163  ·  view source on GitHub ↗
(
  deferBlock: DehydratedDeferBlock | null,
  hydratedBlocks: string[],
  registry: DehydratedBlockRegistry,
  appRef: ApplicationRef,
)

Source from the content-addressed store, hash-verified

150 * dehydrated views and containers
151 */
152export function cleanupHydratedDeferBlocks(
153 deferBlock: DehydratedDeferBlock | null,
154 hydratedBlocks: string[],
155 registry: DehydratedBlockRegistry,
156 appRef: ApplicationRef,
157): void {
158 if (deferBlock !== null) {
159 registry.cleanup(hydratedBlocks);
160 cleanupLContainer(deferBlock.lContainer);
161 cleanupDehydratedViews(appRef);
162 }
163}

Callers 1

Calls 3

cleanupLContainerFunction · 0.85
cleanupDehydratedViewsFunction · 0.85
cleanupMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…