MCPcopy Create free account
hub / github.com/callstack/agent-device / onAbort

Function onAbort

src/utils/exec.ts:707–710  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

705): { readonly didAbort: boolean; dispose: () => void } {
706 let didAbort = false;
707 const onAbort = () => {
708 didAbort = true;
709 killProcessTree(child, options.detached);
710 };
711 if (options.signal?.aborted) {
712 onAbort();
713 } else {

Callers 1

watchCommandAbortFunction · 0.70

Calls 1

killProcessTreeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…