Type Alias ReconnectingOptions
ReconnectingOptions: { checkStateMs: Interval; limitAttempts: number; maxDelay: Interval; onConnected: (() => void); onDisconnected: (() => void); onError: ((error: any) => void); onMessage: ((message: any) => void); startDelay: Interval; } Type declaration
limitAttempts: number
onConnected: (() => void)
onDisconnected: (() => void)
onError: ((error: any) => void)
- (error): void
Returns void
onMessage: ((message: any) => void)
- (message): void
Returns void
How often to check the state of the underlying websocket.
Default: 5s