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

Method onMessage

test/bindingRuntime.policy.test.ts:132–134  ·  view source on GitHub ↗
(cb: (message: JsonRpcMessage) => void)

Source from the content-addressed store, hash-verified

130 }
131
132 onMessage(cb: (message: JsonRpcMessage) => void): void {
133 this.messageHandlers.push(cb);
134 }
135
136 onStderr(): void {}
137 kill(): void {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected