Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ cancel
Function
cancel
packages/session-ui/src/components/basic-tool.tsx:96–99 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
94
let cancelReady: (() => void) | undefined
95
96
const cancel = () => {
97
cancelReady?.()
98
cancelReady = undefined
99
}
100
101
const scheduleReady = (initial = false) => {
102
cancel()
Callers
2
scheduleReady
Function · 0.70
BasicTool
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected