Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ close
Function
close
packages/opencode/test/cli/run/runtime.test.ts:114–121 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
112
return
Promise.resolve()
113
},
114
close() {
115
if
(closed) {
116
return
117
}
118
119
closed = true
120
notify()
121
},
122
destroy() {
123
if
(closed) {
124
return
Callers
nothing calls this directly
Calls
1
notify
Function · 0.70
Tested by
no test coverage detected