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

Interface UnaryPending

node/src/transport.ts:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32class FrameQueue {
33 #frames: Envelope[] = [];
34 #wait?: (result: IteratorResult<Envelope>) => void;
35 #done = false;
36 #error?: Error;
37
38 push(envelope: Envelope): void {
39 if (this.#done) return;
40 if (this.#wait) {
41 const waiter = this.#wait;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected