MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / onClose

Function onClose

src/utils/udsResponseReader.ts:111–114  ·  view source on GitHub ↗
(hadError: boolean)

Source from the content-addressed store, hash-verified

109 }
110
111 function onClose(hadError: boolean): void {
112 if (hadError) return
113 finish(new Error('UDS socket closed before response'))
114 }
115
116 socket.on('data', onData)
117 socket.on('error', onError)

Callers 11

handleSelectFunction · 0.50
onSelectRestoreOptionFunction · 0.50
MessageSelectorFunction · 0.50
StatsContentFunction · 0.50
closeFunction · 0.50
handleEscapeFunction · 0.50
ConfigFunction · 0.50
MainViewFunction · 0.50
WebToolsPanelFunction · 0.50
TranscriptSearchBarFunction · 0.50

Calls 1

finishFunction · 0.70

Tested by

no test coverage detected