MCPcopy Create free account
hub / github.com/cloudflare/computer / send

Method send

script/computerd-stub-soak.mjs:101–104  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

99 }
100
101 async send(message) {
102 if (this._sendQueue !== undefined) this._sendQueue.push(message);
103 else this._ws.send(message);
104 }
105
106 async receive() {
107 if (this._receiveQueue.length > 0) return this._receiveQueue.shift();

Callers

nothing calls this directly

Calls 2

pushMethod · 0.65
sendMethod · 0.65

Tested by

no test coverage detected