Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ cancel
Function
cancel
packages/opencode/src/plugin/openai/ws.ts:331–333 ·
view source on GitHub ↗
(reason)
Source
from the content-addressed store, hash-verified
329
attach(socket)
330
},
331
cancel(reason) {
332
onCancel(reason)
333
},
334
}),
335
{
336
status: 200,
Callers
1
prompt.ts
File · 0.50
Calls
1
onCancel
Function · 0.85
Tested by
no test coverage detected