MCPcopy Create free account
hub / github.com/arctic-cli/interface / assertNotBusy

Function assertNotBusy

packages/arctic/src/session/prompt.ts:88–91  ·  view source on GitHub ↗
(sessionID: string)

Source from the content-addressed store, hash-verified

86 )
87
88 export function assertNotBusy(sessionID: string) {
89 const match = state()[sessionID]
90 if (match) throw new Session.BusyError(sessionID)
91 }
92
93 export const PromptInput = z.object({
94 sessionID: Identifier.schema("session"),

Callers

nothing calls this directly

Calls 1

stateFunction · 0.85

Tested by

no test coverage detected