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

Method waitForDesktopFlow

src/node/services/codexOauthService.ts:201–206  ·  view source on GitHub ↗
(
    flowId: string,
    opts?: { timeoutMs?: number }
  )

Source from the content-addressed store, hash-verified

199 }
200
201 async waitForDesktopFlow(
202 flowId: string,
203 opts?: { timeoutMs?: number }
204 ): Promise<Result<void, string>> {
205 return this.desktopFlows.waitFor(flowId, opts?.timeoutMs ?? DEFAULT_DESKTOP_TIMEOUT_MS);
206 }
207
208 async cancelDesktopFlow(flowId: string): Promise<void> {
209 if (this.desktopFlows.has(flowId)) {

Callers

nothing calls this directly

Calls 1

waitForMethod · 0.80

Tested by

no test coverage detected