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

Function onTerminate

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

Source from the content-addressed store, hash-verified

87 };
88 const onInterrupt = () => interrupt("SIGINT");
89 const onTerminate = () => interrupt("SIGTERM");
90 process.once("SIGINT", onInterrupt);
91 process.once("SIGTERM", onTerminate);
92 const checkInterrupted = () => { if (interrupted) throw interrupted; };

Callers

nothing calls this directly

Calls 1

interruptFunction · 0.85

Tested by

no test coverage detected