MCPcopy 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

scheduleReadyFunction · 0.70
BasicToolFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected