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

Method onMessage

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

Source from the content-addressed store, hash-verified

159 }
160
161 onMessage(cb: (message: JsonRpcMessage) => void): void {
162 this.messageHandlers.push(cb);
163 }
164
165 onStderr(cb: (line: string) => void): void {
166 this.stderrHandlers.push(cb);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected