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

Method abortInProgressLoad

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

Source from the content-addressed store, hash-verified

542 }
543
544 private abortInProgressLoad(): void {
545 untracked(() => this.pendingController?.abort(getAbortReason()));
546 this.pendingController = undefined;
547
548 // Once the load is aborted, we no longer want to block stability on its resolution.
549 this.resolvePendingTask?.();
550 this.resolvePendingTask = undefined;
551 }
552}
553
554let abortReason: DOMException | undefined;

Callers 3

setMethod · 0.95
destroyMethod · 0.95
loadEffectMethod · 0.95

Calls 3

untrackedFunction · 0.90
getAbortReasonFunction · 0.85
abortMethod · 0.65

Tested by

no test coverage detected