MCPcopy
hub / github.com/colbymchenry/codegraph / on

Method on

src/mcp/query-pool.ts:43–43  ·  view source on GitHub ↗
(event: 'message', cb: (m: unknown) => void)

Source from the content-addressed store, hash-verified

41 postMessage(msg: unknown): void;
42 terminate(): Promise<number> | void;
43 on(event: 'message', cb: (m: unknown) => void): void;
44 on(event: 'error', cb: (e: Error) => void): void;
45 on(event: 'exit', cb: (code: number) => void): void;
46}

Callers 15

registerForExitFunction · 0.65
startMethod · 0.65
handleConnectionMethod · 0.65
readClientHelloFunction · 0.65
installSignalHandlersMethod · 0.65
startMethod · 0.65
startMethod · 0.65
connectWithHelloFunction · 0.65
runLocalHandshakeProxyFunction · 0.65
readHelloLineFunction · 0.65
pipeUntilCloseFunction · 0.65

Implementers 1

FakeWorker__tests__/query-pool.test.ts

Calls

no outgoing calls

Tested by 7

spawnServerFunction · 0.52
requestFunction · 0.52
runShimFunction · 0.52
collectMessagesFunction · 0.52
deadPidFunction · 0.52
tagStreamsFunction · 0.52
runChildFunction · 0.52