Function
resolveIfAborted
(resolve: (decision: PermissionDecision) => void)
Source from the content-addressed store, hash-verified
| 146 | return updates.some(update => supportsPersistence(update.destination)) |
| 147 | }, |
| 148 | resolveIfAborted(resolve: (decision: PermissionDecision) => void) { |
| 149 | if (!toolUseContext.abortController.signal.aborted) return false |
| 150 | this.logCancelled() |
| 151 | resolve(this.cancelAndAbort(undefined, true)) |
| 152 | return true |
| 153 | }, |
| 154 | cancelAndAbort( |
| 155 | feedback?: string, |
| 156 | isAbort?: boolean, |
Callers
nothing calls this directly
Tested by
no test coverage detected