Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ done
Function
done
packages/opencode/src/util/process.ts:87–90 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
85
86
const
exited =
new
Promise<number>((resolve, reject) => {
87
const
done = () => {
88
opts.abort?.removeEventListener(
"abort"
, abort)
89
if
(timer) clearTimeout(timer)
90
}
91
92
proc.once(
"exit"
, (code, signal) => {
93
done()
Callers
1
spawn
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected