• Builds the retry state for a streaming data source: no wait during healthy operation, a normal regime running from the configured initial delay up to a 30 second ceiling, an extended regime of 5 minutes up to 1 hour, and a reset once a connection has been healthy for 60 seconds.

    The initial delay is validated here; the documented default of 1 second stands in for anything that is not a positive, finite number. A configured delay above the normal ceiling is clamped to it, while the extended regime never starts below the configured delay.

    Parameters

    • initialReconnectDelayMs: number
    • Optional logger: LDLogger
      Optional

    Returns RetryState

Generated using TypeDoc