MCPcopy Create free account
hub / github.com/codeaashu/claude-code / disconnect

Method disconnect

web/lib/api/stream.ts:147–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145 }
146
147 disconnect(): void {
148 this.closed = true;
149 clearTimeout(this.reconnectTimer);
150 this.eventSource?.close();
151 this.eventSource = null;
152 }
153
154 private scheduleReconnect(): void {
155 if (this.closed || this.reconnectAttempts >= this.maxReconnects) {

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected