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

Function exited

e2e/local/cli-mcp-daemon-attach-stress.test.ts:103–106  ·  view source on GitHub ↗
(proc: DaemonProc)

Source from the content-addressed store, hash-verified

101 ) as DaemonProc;
102
103const exited = (proc: DaemonProc): Promise<void> =>
104 proc.exitCode !== null || proc.signalCode !== null
105 ? Promise.resolve()
106 : new Promise((resolve) => proc.once("exit", () => resolve()));
107
108const stopProc = async (proc: DaemonProc): Promise<void> => {
109 if (proc.exitCode !== null || proc.signalCode !== null) return;

Callers 2

stopProcFunction · 0.70

Calls 2

resolveMethod · 0.80
resolveFunction · 0.50

Tested by

no test coverage detected