MCPcopy
hub / github.com/angular/angular / shouldDiscard

Method shouldDiscard

packages/core/src/resource/resource.ts:459–459  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

457 // If this request has been aborted, or the current request no longer
458 // matches this load, then we should ignore this resolution.
459 const shouldDiscard = () => abortSignal.aborted || untracked(this.extRequest) !== extRequest;
460
461 if (isSignal(stream)) {
462 if (shouldDiscard()) {

Callers

nothing calls this directly

Calls 1

untrackedFunction · 0.90

Tested by

no test coverage detected