MCPcopy Index your code
hub / github.com/codeaashu/claude-code / dispatch

Method dispatch

web/lib/collaboration/socket.ts:298–300  ·  view source on GitHub ↗
(event: CollabEvent)

Source from the content-addressed store, hash-verified

296 }
297
298 private dispatch(event: CollabEvent): void {
299 this.handlers.get(event.type)?.forEach((h) => h(event));
300 }
301
302 private startPing(): void {
303 this.pingInterval = setInterval(() => {

Callers 1

connectMethod · 0.95

Calls 3

forEachMethod · 0.80
getMethod · 0.65
hFunction · 0.50

Tested by

no test coverage detected