Documentation
    Preparing search index...

    Interface StreamRetryOptions

    interface StreamRetryOptions {
        initialDelay?: number;
        maxAttempts?: number;
        maxDelay?: number;
    }
    Index
    initialDelay?: number

    First retry delay in milliseconds; each further failure doubles it.

    250
    
    maxAttempts?: number

    Consecutive failures without progress before the stream throws. 0 disables retries.

    10
    
    maxDelay?: number

    Cap on the retry delay in milliseconds.

    30_000