MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / cleanup

Function cleanup

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

Source from the content-addressed store, hash-verified

61 reject(new Error('aborted'));
62 };
63 const cleanup = () => {
64 clearTimeout(t);
65 signal?.removeEventListener('abort', onAbort);
66 };
67 signal?.addEventListener('abort', onAbort, { once: true });
68 });
69}

Callers 2

abortableSleepFunction · 0.70
onAbortFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected