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

Method constructor

__tests__/parse-pool.test.ts:34–34  ·  view source on GitHub ↗
(private behavior: (m: ParseMsg) => Action, private onTerminate?: () => void)

Source from the content-addressed store, hash-verified

32 private exitCb?: (code: number) => void;
33 alive = true;
34 constructor(private behavior: (m: ParseMsg) => Action, private onTerminate?: () => void) {}
35 on(event: string, cb: (...args: any[]) => void): void {
36 if (event === 'message') this.msgCb = cb;
37 else if (event === 'exit') this.exitCb = cb;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected