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

Method on

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

Source from the content-addressed store, hash-verified

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

Callers 15

constructorMethod · 0.65
resolver-worker.tsFile · 0.65
registerForExitFunction · 0.65
spawnWatchdogChildFunction · 0.65
probeDaemonIdentityFunction · 0.65
startMethod · 0.65
handleConnectionMethod · 0.65
readClientHelloFunction · 0.65
spawnDetachedDaemonFunction · 0.65
installSignalHandlersMethod · 0.65
startMethod · 0.65

Implementers 4

HeldWorker__tests__/prompt-hook-daemon-busy.test
FakeWorker__tests__/worker-teardown.test.ts
SlowLoadWorker__tests__/parse-pool.test.ts
FakeWorker__tests__/query-pool.test.ts

Calls

no outgoing calls

Tested by

no test coverage detected