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

Method on

__tests__/fixtures/tail-render-ts/src/lib/socket.ts:3–3  ·  view source on GitHub ↗
(event: string, handler: (chunk: unknown) => void)

Source from the content-addressed store, hash-verified

1export interface Socket {
2 emit(event: string, payload: unknown): void;
3 on(event: string, handler: (chunk: unknown) => void): void;
4 close(): void;
5}
6

Callers 15

requestOnFunction · 0.65
requestFunction · 0.65
startFunction · 0.65
spawnMcpFunction · 0.65
callOnFunction · 0.65
requestFunction · 0.65
openMethod · 0.65
spawnServerFunction · 0.65

Calls

no outgoing calls

Tested by 15

requestOnFunction · 0.52
requestFunction · 0.52
startFunction · 0.52
spawnMcpFunction · 0.52
callOnFunction · 0.52
requestFunction · 0.52
openMethod · 0.52
spawnServerFunction · 0.52
waitForExitFunction · 0.52
requestFunction · 0.52
spawnServerFunction · 0.52
requestFunction · 0.52