MCPcopy
hub / github.com/coder/mux / markControlPathReady

Method markControlPathReady

src/node/runtime/sshConnectionPool.ts:352–356  ·  view source on GitHub ↗
(key: string, controlPath: string)

Source from the content-addressed store, hash-verified

350 }
351
352 private markControlPathReady(key: string, controlPath: string): void {
353 const readyPaths = this.readyControlPaths.get(key) ?? new Set<string>();
354 readyPaths.add(controlPath);
355 this.readyControlPaths.set(key, readyPaths);
356 }
357
358 private clearReadyControlPaths(key: string): void {
359 this.readyControlPaths.delete(key);

Callers 2

probeConnectionMethod · 0.95

Calls 3

addMethod · 0.80
setMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected