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

Function onAbort

packages/forms/signals/src/api/rules/debounce.ts:69–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 let timeoutId: ReturnType<typeof setTimeout> | undefined;
68
69 const onAbort = () => {
70 clearTimeout(timeoutId);
71 resolve();
72 };
73
74 timeoutId = setTimeout(() => {
75 abortSignal.removeEventListener('abort', onAbort);

Callers

nothing calls this directly

Calls 2

clearTimeoutFunction · 0.85
resolveFunction · 0.50

Tested by

no test coverage detected