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

Function onDisconnect

src/server/web/terminal.ts:269–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

267}
268
269function onDisconnect(): void {
270 connected = false
271 ws = null
272 setStatus('disconnected')
273 stopPing()
274 showOverlay(reconnectOverlay)
275 scheduleReconnect()
276}
277
278function scheduleReconnect(): void {
279 if (reconnectTimer) clearTimeout(reconnectTimer)

Callers

nothing calls this directly

Calls 4

setStatusFunction · 0.70
stopPingFunction · 0.70
showOverlayFunction · 0.70
scheduleReconnectFunction · 0.70

Tested by

no test coverage detected