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

Method onMessage

test/bindingRuntime.prompt.test.ts:594–596  ·  view source on GitHub ↗
(cb: (message: JsonRpcMessage) => void)

Source from the content-addressed store, hash-verified

592 }
593
594 onMessage(cb: (message: JsonRpcMessage) => void): void {
595 this.messageHandlers.push(cb);
596 }
597
598 onStderr(): void {
599 // noop

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected