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

Function closeBoth

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

Source from the content-addressed store, hash-verified

1363 };
1364
1365 const closeBoth = (): Promise<void> => {
1366 if (!closePromise) {
1367 closing = true;
1368 closePromise = Promise.allSettled([stdio.close(), http.close()]).then(() => undefined);
1369 }
1370 return closePromise;
1371 };
1372
1373 function shutdown() {
1374 finish();

Callers 2

shutdownFunction · 0.85
runMcpHttpBridgeFunction · 0.85

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected