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

Method takeProvisioningSession

src/node/services/coderService.ts:562–568  ·  view source on GitHub ↗
(workspaceName: string)

Source from the content-addressed store, hash-verified

560 }
561
562 takeProvisioningSession(workspaceName: string): CoderApiSession | undefined {
563 const session = this.provisioningSessions.get(workspaceName);
564 if (session) {
565 this.provisioningSessions.delete(workspaceName);
566 }
567 return session;
568 }
569
570 async disposeProvisioningSession(workspaceName: string): Promise<void> {
571 const session = this.provisioningSessions.get(workspaceName);

Callers 2

postCreateSetupMethod · 0.80

Calls 2

getMethod · 0.65
deleteMethod · 0.45

Tested by

no test coverage detected