Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ cleanup
Function
cleanup
packages/opencode/src/control-plane/util.ts:24–28 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
22
}
23
24
const
cleanup = () => {
25
clearTimeout(timeout)
26
GlobalBus.off(
"event"
, handler)
27
input.signal?.removeEventListener(
"abort"
, abort)
28
}
29
30
const
timeout = setTimeout(() => {
31
cleanup()
Callers
3
abort
Function · 0.70
handler
Function · 0.70
waitEvent
Function · 0.70
Calls
1
off
Method · 0.80
Tested by
no test coverage detected