mirror of
https://github.com/wisplite/tether-ts.git
synced 2026-05-01 06:22:41 -05:00
separation of concerns
This commit is contained in:
Vendored
+15
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user