MCPcopy Index your code
hub / github.com/codeaashu/claude-code / resolveIfAborted

Function resolveIfAborted

src/hooks/toolPermission/PermissionContext.ts:148–153  ·  view source on GitHub ↗
(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

Calls 1

resolveFunction · 0.70

Tested by

no test coverage detected