websocket-ts
    Preparing search index...

    Interface WebsocketConnectionRetryOptions

    Options for the websockets retry-strategy.

    interface WebsocketConnectionRetryOptions {
        backoff?: Backoff;
        instantReconnect?: boolean;
        maxRetries?: number;
    }
    Index
    backoff?: Backoff

    The backoff strategy to use. This is used to determine the delay between connection-retries.

    instantReconnect?: boolean

    Whether to reconnect immediately after a connection has been lost, ignoring the backoff strategy for the first retry.

    maxRetries?: number

    The maximum number of retries before giving up. No limit if undefined or Infinity. Must be Infinity or a non-negative integer; zero means no retry is ever made.