@duckduckgo/content-scope-scripts
    Preparing search index...

    Optional per-action retry policy honoured by the web executor. Retries run web-side only when environment is "web"; otherwise retrying is left to the caller's scheduler. When present, both interval and maxAttempts are required: the executor uses interval.ms as the inter-attempt delay and maxAttempts as the loop bound, with no defaults.

    interface RetryConfig {
        environment?: "web";
        interval: { ms: number };
        maxAttempts: number;
    }
    Index

    Properties

    environment?: "web"

    where the retry runs; "web" is the only supported value and enables web-side retry for this action

    interval: { ms: number }

    Type Declaration

    • ms: number

      delay between attempts, in milliseconds

    maxAttempts: number

    maximum number of attempts before giving up