MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / abort

Function abort

graph-ui/src/architecture/repository-source.ts:78–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 onRetry?.(attempt + 1);
77 await new Promise<void>((resolve, reject) => {
78 const abort = () => { clearTimeout(timer); reject(new DOMException('Aborted', 'AbortError')); };
79 const timer = setTimeout(() => { signal.removeEventListener('abort', abort); resolve(); }, 750 * (attempt + 1));
80 signal.addEventListener('abort', abort, { once: true });
81 if (signal.aborted) abort();

Calls

no outgoing calls

Tested by 5

tf_index_worker_probeFunction · 0.68
tf_coverage_exit_nowFunction · 0.68
exitFunction · 0.68