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

Method reply

__tests__/parse-pool.test.ts:40–42  ·  view source on GitHub ↗
(id: number, result: ExtractionResult, parseMs?: number)

Source from the content-addressed store, hash-verified

38 // 'error' unused by the fakes
39 }
40 private reply(id: number, result: ExtractionResult, parseMs?: number): void {
41 if (this.alive) this.msgCb?.({ type: 'parse-result', id, result, parseMs });
42 }
43 postMessage(msg: unknown): void {
44 const m = msg as { type: string } & Partial<ParseMsg>;
45 if (m.type === 'load-grammars') {

Callers 1

postMessageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected