MCPcopy Index your code
hub / github.com/coder/mux / onClose

Method onClose

src/node/services/coderService.ts:1095–1098  ·  view source on GitHub ↗
(code: number | null)

Source from the content-addressed store, hash-verified

1093 }
1094
1095 function onClose(code: number | null) {
1096 cleanup();
1097 resolveOnce({ exitCode: code, stdout, stderr });
1098 }
1099
1100 child.stdout?.on("data", (chunk) => {
1101 stdout += String(chunk);

Callers 4

handleConfirmFunction · 0.45
SortableTabFunction · 0.45

Calls 1

cleanupFunction · 0.70

Tested by

no test coverage detected