MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / onInterrupt

Function onInterrupt

src/cli/print.ts:4151–4153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4149 structuredIO.injectControlResponse(response)
4150 },
4151 onInterrupt() {
4152 abortController?.abort()
4153 },
4154 onSetModel(model) {
4155 const resolved =
4156 model === 'default' ? getDefaultMainLoopModel() : model

Callers 2

ChatInputFunction · 0.50

Calls 1

abortMethod · 0.65

Tested by

no test coverage detected