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

Function manualReconnect

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

Source from the content-addressed store, hash-verified

283}
284
285function manualReconnect(): void {
286 if (reconnectTimer) clearTimeout(reconnectTimer)
287 reconnectDelay = RECONNECT_BASE_MS
288 ws?.close()
289 ws = null
290 term.clear()
291 connect()
292}
293
294// ── Ping / latency ───────────────────────────────────────────────────────────
295

Callers 1

setupBarToggleFunction · 0.70

Calls 3

connectFunction · 0.70
closeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected