MCPcopy Create free account
hub / github.com/codeaashu/claude-code / stop

Function stop

src/services/AgentSummary/agentSummary.ts:162–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160 }
161
162 function stop(): void {
163 logForDebugging(`[AgentSummary] Stopping summarization for ${taskId}`)
164 stopped = true
165 if (timeoutId) {
166 clearTimeout(timeoutId)
167 timeoutId = null
168 }
169 if (summaryAbortController) {
170 summaryAbortController.abort()
171 summaryAbortController = null
172 }
173 }
174
175 // Start the first timer
176 scheduleNext()

Callers

nothing calls this directly

Calls 1

logForDebuggingFunction · 0.85

Tested by

no test coverage detected