MCPcopy Index your code
hub / github.com/commandoperator/cmdop-sdk / feed

Function feed

node/tests/transport.test.ts:48–50  ·  view source on GitHub ↗
(env: Envelope)

Source from the content-addressed store, hash-verified

46 (t as unknown as { __fromCore: PassThrough }).__fromCore = fromCore;
47
48 const feed = (env: Envelope) => {
49 fromCore.write(sizeDelimitedEncode(EnvelopeSchema, env));
50 };
51 // crash: EOF the core->client stream → the read loop ends → all pending fail.
52 const crash = () => {
53 fromCore.end();

Callers 2

transport.test.tsFile · 0.70
evFunction · 0.70

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected