MCPcopy Index your code
hub / github.com/middleapi/orpc / assertOpen

Method assertOpen

packages/shared/src/queue.ts:107–111  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

105 }
106
107 assertOpen(id: string): void {
108 if (!this.isOpen(id)) {
109 throw new Error(`[AsyncIdQueue] Cannot access queue[${id}] because it is not open or aborted.`)
110 }
111 }
112}

Callers 2

pushMethod · 0.95
pullMethod · 0.95

Calls 1

isOpenMethod · 0.95

Tested by

no test coverage detected