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

Function nextReq

node/tests/skills.test.ts:45–49  ·  view source on GitHub ↗
(reqs: AsyncGenerator<Envelope>)

Source from the content-addressed store, hash-verified

43}
44
45async function nextReq(reqs: AsyncGenerator<Envelope>): Promise<Envelope> {
46 const { value, done } = await reqs.next();
47 if (done) throw new Error("no request");
48 return value;
49}
50
51/** Minimal Client stand-in SkillsResource needs (transport + fleetId). */
52function fakeClient(t: Transport): Client {

Callers 1

skills.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected