MCPcopy Create free account
hub / github.com/arctic-cli/interface / cancel

Function cancel

packages/arctic/src/tool/task.ts:87–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 }
86
87 function cancel() {
88 SessionPrompt.cancel(session.id)
89 }
90 ctx.abort.addEventListener("abort", cancel)
91 using _ = defer(() => ctx.abort.removeEventListener("abort", cancel))
92 const promptParts = await SessionPrompt.resolvePromptParts(params.prompt)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected