MCPcopy Create free account
hub / github.com/cli/cli / onInterrupt

Function onInterrupt

evals/src/smoke.ts:88–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 if (stream && stream.exitCode === null && stream.signalCode === null) stream.kill("SIGTERM");
87 };
88 const onInterrupt = () => interrupt("SIGINT");
89 const onTerminate = () => interrupt("SIGTERM");
90 process.once("SIGINT", onInterrupt);
91 process.once("SIGTERM", onTerminate);

Callers

nothing calls this directly

Calls 1

interruptFunction · 0.85

Tested by

no test coverage detected