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

Function unregisterPermissionCallback

src/hooks/useSwarmPermissionPoller.ts:94–99  ·  view source on GitHub ↗
(requestId: string)

Source from the content-addressed store, hash-verified

92 * Unregister a callback (e.g., when the request is resolved locally or times out)
93 */
94export function unregisterPermissionCallback(requestId: string): void {
95 pendingCallbacks.delete(requestId)
96 logForDebugging(
97 `[SwarmPermissionPoller] Unregistered callback for request ${requestId}`,
98 )
99}
100
101/**
102 * Check if a request has a registered callback

Callers 1

cleanupFunction · 0.85

Calls 2

logForDebuggingFunction · 0.85
deleteMethod · 0.65

Tested by

no test coverage detected