MCPcopy Index your code
hub / github.com/anomalyco/opencode / removeLocalQueued

Function removeLocalQueued

packages/opencode/src/cli/cmd/run/runtime.queue.ts:86–90  ·  view source on GitHub ↗
(queued: FooterQueuedPrompt)

Source from the content-addressed store, hash-verified

84 }
85
86 const removeLocalQueued = (queued: FooterQueuedPrompt) => {
87 if (!state.queued.includes(queued)) return
88 state.queued = state.queued.filter((item) => item !== queued)
89 syncQueue()
90 }
91
92 const finish = () => {
93 if (!state.closed || draining) {

Callers 2

drainFunction · 0.85
runPromptQueueFunction · 0.85

Calls 1

syncQueueFunction · 0.85

Tested by

no test coverage detected