Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ wrapped
Function
wrapped
packages/opencode/src/plugin/tui/runtime.ts:409–414 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
407
let
drop = false
408
let
off = () => {}
409
const
wrapped = () => {
410
if
(drop)
return
411
drop = true
412
off()
413
fn()
414
}
415
off = onDispose(wrapped)
416
return
wrapped
417
}
Callers
nothing calls this directly
Calls
2
off
Function · 0.85
fn
Function · 0.50
Tested by
no test coverage detected