Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ stop
Function
stop
packages/opencode/src/cli/cmd/run/stream.transport.ts:408–412 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
406
abort.abort()
407
}
408
const
stop = () => {
409
input.signal?.removeEventListener(
"abort"
, halt)
410
abort.abort()
411
closeStream()
412
}
413
const
closeScope = () => {
414
if
(closed) {
415
return
Effect.void
Callers
1
closeScope
Function · 0.70
Calls
2
closeStream
Function · 0.85
abort
Method · 0.45
Tested by
no test coverage detected