Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
close
Function · 0.70
drain
Function · 0.70
runPromptQueue
Function · 0.70
createLayer
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected