@fishjam-cloud/react-native-client - v0.19.0
    Preparing search index...

    Type Alias ConnectionConfig

    type ConnectionConfig = {
        reconnectConfig?: {
            delayMs?: number;
            initialDelayMs?: number;
            maxAttempts?: number;
        };
    }
    Index

    Properties

    Properties

    reconnectConfig?: {
        delayMs?: number;
        initialDelayMs?: number;
        maxAttempts?: number;
    }

    Configuration for automatic reconnection sdk uses a linear backoff algorithm, that is the formula for the delay of the nth attempt is n * delayMs + initialDelayMs

    Pass 0 for maxAttempts to disable automatic reconnection