Skip to main content

Interface: ReconnectState

The current reconnect state to use to decide whether to kep reconnecting or not

Properties

reconnectRetries

reconnectRetries: number

The number or retry attempts so far. This gets reset on every successful connect, so it will start from zero every time the client instance gets disconnected and will increment until the client instance makes a connection attempt is successful.