MCPcopy Create free account
hub / github.com/clawbot7/cli-gateway / onMessage

Method onMessage

test/bindingRuntime.misc.test.ts:30–32  ·  view source on GitHub ↗
(cb: (message: JsonRpcMessage) => void)

Source from the content-addressed store, hash-verified

28 this.written.push(message);
29 }
30 onMessage(cb: (message: JsonRpcMessage) => void): void {
31 this.handlers.push(cb);
32 }
33 onStderr(): void {}
34 kill(): void {}
35}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected