MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / shutdown

Function shutdown

apps/cli/src/main.ts:198–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196const waitForShutdownSignal = () =>
197 Effect.callback<void, never>((resume) => {
198 const shutdown = () => resume(Effect.void);
199 process.once("SIGINT", shutdown);
200 process.once("SIGTERM", shutdown);
201 return Effect.sync(() => {

Callers 1

forwardMessageFunction · 0.70

Calls 3

resumeFunction · 0.85
closeBothFunction · 0.85
finishFunction · 0.70

Tested by

no test coverage detected