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

Method emitMessage

__tests__/query-pool.test.ts:56–56  ·  view source on GitHub ↗
(m: unknown)

Source from the content-addressed store, hash-verified

54 else if (event === 'error') this.errorCb = cb;
55 }
56 emitMessage(m: unknown): void { this.msgCb?.(m); }
57 emitError(): void { this.errorCb?.(new Error('worker failed')); }
58 emitExit(): void { this.exitCb?.(13); }
59 private reply(id: number, result: ToolResult): void {

Callers 3

constructorMethod · 0.95
postMessageMethod · 0.95
query-pool.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected