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

Function shutdown

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

Source from the content-addressed store, hash-verified

210const waitForShutdownSignal = () =>
211 Effect.callback<void, never>((resume) => {
212 const shutdown = () => resume(Effect.void);
213 process.once("SIGINT", shutdown);
214 process.once("SIGTERM", shutdown);
215 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