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

Method write

test/bindingRuntime.misc.test.ts:27–29  ·  view source on GitHub ↗
(message: JsonRpcMessage)

Source from the content-addressed store, hash-verified

25 written: JsonRpcMessage[] = [];
26
27 write(message: JsonRpcMessage): void {
28 this.written.push(message);
29 }
30 onMessage(cb: (message: JsonRpcMessage) => void): void {
31 this.handlers.push(cb);
32 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected