MCPcopy Create free account
hub / github.com/coder/mux / waitForIdle

Method waitForIdle

src/node/services/workspaceService.ts:7823–7826  ·  view source on GitHub ↗
(workspaceId: string)

Source from the content-addressed store, hash-verified

7821 }
7822
7823 async waitForIdle(workspaceId: string): Promise<void> {
7824 const session = this.sessions.get(workspaceId.trim());
7825 await session?.waitForIdle();
7826 }
7827
7828 async waitForIdleAndNoQueuedMessages(workspaceId: string): Promise<void> {
7829 const session = this.sessions.get(workspaceId.trim());

Callers 3

waitForAgentSessionIdleFunction · 0.45
removeMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected