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

Method iterate

node/src/transport.ts:88–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 }
87 }
88}
89
90export class Transport {
91 #child?: ChildProcessWithoutNullStreams;
92 #stdin?: Writable;
93 #pending = new Map<bigint, UnaryPending | StreamPending>();
94 #nextId = 1n;
95 #closed = false;
96 #starting?: Promise<void>;
97
98 constructor(
99 private readonly config: ClientConfig,
100 private readonly binaryPath: string,
101 ) {}
102
103 /** @internal test seam */
104 attachStreamsForTest(stdin: Writable, stdout: Readable): void {
105 this.#stdin = stdin;
106 this.#child = { stdin } as unknown as ChildProcessWithoutNullStreams;

Callers 1

envelopesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected