MCPcopy Index your code
hub / github.com/anomalyco/opencode / off

Function off

packages/opencode/src/plugin/tui/runtime.ts:408–408  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

406 if (!fn) return () => {}
407 let drop = false
408 let off = () => {}
409 const wrapped = () => {
410 if (drop) return
411 drop = true

Callers 7

unsubscribeFunction · 0.85
registerWslIpcHandlersFunction · 0.85
ViewFunction · 0.85
wrappedFunction · 0.85
SessionTodoDockFunction · 0.85
useSpringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected