MCPcopy Index your code
hub / github.com/callstack/agent-device / onAbort

Function onAbort

src/utils/retry.ts:207–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205 const timer = setTimeout(finish, ms);
206
207 function onAbort(): void {
208 clearTimeout(timer);
209 finish();
210 }
211
212 if (signal) {
213 signal.addEventListener('abort', onAbort, { once: true });

Callers

nothing calls this directly

Calls 1

finishFunction · 0.70

Tested by

no test coverage detected