MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / onAbort

Function onAbort

packages/pi-tui/src/autocomplete.ts:177–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175 };
176
177 const onAbort = () => {
178 if (child.exitCode === null) {
179 child.kill("SIGKILL");
180 }
181 };
182
183 signal.addEventListener("abort", onAbort, { once: true });
184 child.stdout.setEncoding("utf-8");

Callers

nothing calls this directly

Calls 1

killMethod · 0.65

Tested by

no test coverage detected