MCPcopy Create free account
hub / github.com/commandoperator/cmdop-sdk / #write

Method #write

node/src/transport.ts:286–290  ·  view source on GitHub ↗
(env: Envelope)

Source from the content-addressed store, hash-verified

284 // -- write path --------------------------------------------------------
285
286 #write(env: Envelope): void {
287 const stdin = this.#stdin;
288 if (!stdin) throw new ConnectionError("cmdop-core not running");
289 stdin.write(sizeDelimitedEncode(EnvelopeSchema, env));
290 }
291
292 // -- call entry points (used by generated resources) -------------------
293

Callers 3

callUnaryMethod · 0.95
envelopesMethod · 0.80
answerMethod · 0.80

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected