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

Method shouldDiscard

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

untrackedFunction · 0.90

Tested by

no test coverage detected