Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ abort
Function
abort
packages/opencode/src/control-plane/util.ts:8–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
6
7
return
Effect.callback<void, unknown>((resume) => {
8
const
abort = () => {
9
cleanup()
10
resume(Effect.fail(input.signal?.reason ??
new
Error(
"Request aborted"
)))
11
}
12
13
const
handler = (event: GlobalEvent) => {
14
try {
Callers
nothing calls this directly
Calls
2
resume
Function · 0.85
cleanup
Function · 0.70
Tested by
no test coverage detected