MCPcopy Create free account
hub / github.com/angular/angular / deferBlockHasErrored

Function deferBlockHasErrored

packages/core/src/defer/triggering.ts:529–534  ·  view source on GitHub ↗
(deferBlock: DehydratedDeferBlock)

Source from the content-addressed store, hash-verified

527}
528
529export function deferBlockHasErrored(deferBlock: DehydratedDeferBlock): boolean {
530 return (
531 getLDeferBlockDetails(deferBlock.lView, deferBlock.tNode)[DEFER_BLOCK_STATE] ===
532 DeferBlockState.Error
533 );
534}
535
536/**
537 * Clean up the parent container of a block where content changed between server and client.

Callers 1

Calls 1

getLDeferBlockDetailsFunction · 0.90

Tested by

no test coverage detected