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

Function onUnexpectedSidecarExit

apps/desktop/src/main/sidecar.ts:48–50  ·  view source on GitHub ↗
(listener: () => void)

Source from the content-addressed store, hash-verified

46// concerns.
47let unexpectedExitListener: (() => void) | null = null;
48export const onUnexpectedSidecarExit = (listener: () => void) => {
49 unexpectedExitListener = listener;
50};
51
52/** Buffer chunked output into whole lines before handing them to `write`. */
53const makeLineSplitter = (write: (line: string) => void) => {

Callers 1

bootFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected