MCPcopy 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

cancelMethod · 0.65
abortMethod · 0.45

Tested by

no test coverage detected