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

Function crash

node/tests/transport.test.ts:52–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 };
51 // crash: EOF the core->client stream → the read loop ends → all pending fail.
52 const crash = () => {
53 fromCore.end();
54 };
55 const reqs = sizeDelimitedDecodeStream(EnvelopeSchema, toCore);
56 return { t, feed, reqs, crash };
57}

Callers 1

transport.test.tsFile · 0.85

Calls 1

endMethod · 0.80

Tested by

no test coverage detected