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

Method fail

node/src/transport.ts:78–86  ·  view source on GitHub ↗
(err: Error)

Source from the content-addressed store, hash-verified

76 yield this.#frames.shift()!;
77 continue;
78 }
79 if (this.#done) return;
80 const result = await new Promise<IteratorResult<Envelope>>((resolve) => {
81 this.#wait = resolve;
82 });
83 if (this.#error) throw this.#error;
84 if (result.done) return;
85 yield result.value;
86 }
87 }
88}
89

Callers 2

#failAllMethod · 0.80
envelopesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected