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

Function ev

node/tests/transport.test.ts:131–141  ·  view source on GitHub ↗
(json: string)

Source from the content-addressed store, hash-verified

129 expect(req.payload.case).toBe("askReq");
130 const id = req.id;
131 const ev = (json: string) =>
132 feed(
133 create(EnvelopeSchema, {
134 id,
135 kind: Envelope_Kind.EVENT,
136 payload: {
137 case: "askFrame",
138 value: { frame: { case: "event", value: { eventType: 1, payloadJson: json } } },
139 },
140 }),
141 );
142
143 ev('{"delta":"hi "}');
144 feed(

Callers 1

transport.test.tsFile · 0.85

Calls 1

feedFunction · 0.70

Tested by

no test coverage detected