MCPcopy
hub / github.com/codeaashu/claude-code / onResponse

Function onResponse

src/hooks/useReplBridge.tsx:576–581  ·  view source on GitHub ↗
(requestId_3, handler_0)

Source from the content-addressed store, hash-verified

574 handle_0.sendControlCancelRequest(requestId_2);
575 },
576 onResponse(requestId_3, handler_0) {
577 pendingPermissionHandlers.set(requestId_3, handler_0);
578 return () => {
579 pendingPermissionHandlers.delete(requestId_3);
580 };
581 }
582 };
583 setAppState(prev_16 => ({
584 ...prev_16,

Callers 7

onSelectFunction · 0.50
LspRecommendationMenuFunction · 0.50
onSelectFunction · 0.50
PluginHintMenuFunction · 0.50
handleAbortFunction · 0.50
ElicitationFormDialogFunction · 0.50
ElicitationURLDialogFunction · 0.50

Calls 2

deleteMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected