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

Function finish

packages/opencode/src/cli/cmd/run/runtime.queue.ts:92–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90 }
91
92 const finish = () => {
93 if (!state.closed || draining) {
94 return
95 }
96
97 done.resolve()
98 }
99
100 const close = () => {
101 if (state.closed) {

Callers 4

closeFunction · 0.70
drainFunction · 0.70
runPromptQueueFunction · 0.70
createLayerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected