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

Function resolve

src/hooks/toolPermission/PermissionContext.ts:79–84  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

77 let delivered = false
78 return {
79 resolve(value: T) {
80 if (delivered) return
81 delivered = true
82 claimed = true
83 resolve(value)
84 },
85 isResolved() {
86 return claimed
87 },

Callers 4

resolveIfAbortedFunction · 0.70
finishRecordingFunction · 0.50
useCanUseToolFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected