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

Method onMessage

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

Source from the content-addressed store, hash-verified

258 }
259
260 onMessage(cb: (message: JsonRpcMessage) => void): void {
261 this.messageHandlers.push(cb);
262 }
263
264 onStderr(): void {
265 // noop

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected