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

Function onAbort

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

clearTimeoutFunction · 0.85
resolveFunction · 0.50

Tested by

no test coverage detected