MCPcopy Index your code
hub / github.com/anomalyco/opencode / halt

Function halt

packages/opencode/src/cli/cmd/run/stream.transport.ts:405–407  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

403 let closed = false
404 let closeStream = () => {}
405 const halt = () => {
406 abort.abort()
407 }
408 const stop = () => {
409 input.signal?.removeEventListener("abort", halt)
410 abort.abort()

Callers 1

processor.tsFile · 0.50

Calls 1

abortMethod · 0.45

Tested by

no test coverage detected