Polkadot Apps
    Preparing search index...

    Interface RetryOptions

    Options for retry with exponential backoff.

    interface RetryOptions {
        backoffMultiplier?: number;
        initialDelay?: number;
        maxAttempts?: number;
        maxDelay?: number;
        signal?: AbortSignal;
    }
    Index

    Properties

    backoffMultiplier?: number

    Multiplier applied to delay after each attempt. Default: 2

    initialDelay?: number

    Initial delay in ms before first retry. Default: 500

    maxAttempts?: number

    Maximum number of attempts. Default: 3

    maxDelay?: number

    Maximum delay cap in ms. Default: 10_000

    signal?: AbortSignal

    AbortSignal to cancel retries early.