Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ cancel
Function
cancel
packages/core/src/aisdk.ts:61–64 ·
view source on GitHub ↗
(reason)
Source
from the content-addressed store, hash-verified
59
ctrl.enqueue(part.value)
60
},
61
async
cancel(reason) {
62
ctl.abort(reason)
63
await
reader.cancel(reason)
64
},
65
})
66
67
return
new
Response(body, {
Callers
nothing calls this directly
Calls
2
cancel
Method · 0.65
abort
Method · 0.45
Tested by
no test coverage detected