MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / done

Function done

src/mcp/proxy.ts:507–507  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

505 return new Promise((resolve) => {
506 let resolved = false;
507 const done = () => { if (!resolved) { resolved = true; resolve(); } };
508
509 process.stdin.on('data', (chunk) => {
510 try { socket.write(chunk); } catch { /* socket may have errored — close path catches it */ }

Callers 3

failMethod · 0.85
pipeUntilCloseFunction · 0.85
teardownFunction · 0.85

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected