Interface ReconnectContext

interface ReconnectContext {
    elapsedMs: number;
    retryCount: number;
    retryReason?: Error;
    serverUrl?: string;
}

Properties

elapsedMs: number

Elapsed amount of time in milliseconds since the disconnect.

retryCount: number

Number of failed reconnect attempts

retryReason?: Error

Reason for retrying

serverUrl?: string