separation of concerns

This commit is contained in:
2026-04-21 22:26:47 -05:00
parent 00eeff1282
commit 89d2b414f9
6 changed files with 169 additions and 76 deletions
+15
View File
@@ -0,0 +1,15 @@
export declare class WebSocketHandler {
private ws;
private url;
private subscribedQueries;
private onOpen;
private onClose;
private reconnectAttempts;
private maxReconnectAttempts;
private reconnectInterval;
private sendQueue;
startConnection: (url: string) => void;
attemptReconnect: () => void;
close: () => void;
send: (message: string) => void;
}