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

Function assertSsrIdDefined

packages/core/src/hydration/utils.ts:436–441  ·  view source on GitHub ↗
(ssrUniqueId: unknown)

Source from the content-addressed store, hash-verified

434
435/** Throws an error if the ssrUniqueId on the LDeferBlockDetails is not present */
436export function assertSsrIdDefined(ssrUniqueId: unknown) {
437 assertDefined(
438 ssrUniqueId,
439 'Internal error: expecting an SSR id for a defer block that should be hydrated, but the id is not present',
440 );
441}
442
443/**
444 * Returns the size of an <ng-container>, using either the information

Callers 3

ɵɵdeferHydrateWhenFunction · 0.90
scheduleDelayedHydratingFunction · 0.90

Calls 1

assertDefinedFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…