@launchdarkly/js-server-sdk-common - v2.26.1
    Preparing search index...

    Interface StreamingDataSourceOptions

    This data source will make best effort to maintain a streaming connection to LaunchDarkly services to provide real time data updates.

    interface StreamingDataSourceOptions {
        dataSourceOptionsType: "streamingOnly";
        streamInitialReconnectDelay?: number;
    }

    Hierarchy

    Index
    dataSourceOptionsType: "streamingOnly"
    streamInitialReconnectDelay?: number

    Sets the initial reconnect delay for the streaming connection, in seconds. Default if omitted.

    The streaming service uses a backoff algorithm (with jitter) every time the connection needs to be reestablished. The delay for the first reconnection will start near this value, and then increase exponentially up to a maximum for any subsequent connection failures.

    The default value is 1.