Beignet API reference
    Preparing search index...

    Interface JobRetryOptions

    Retry metadata that durable job providers can map to their own retry model.

    interface JobRetryOptions {
        attempts?: number;
        delay?: JobDuration;
        factor?: number;
        initialDelay?: JobDuration;
        jitter?: boolean;
        maxDelay?: JobDuration;
        retryIf?: JobRetryPredicate;
        strategy?: JobRetryStrategy;
    }
    Index
    attempts?: number

    Maximum total attempts, including the first attempt.

    delay?: JobDuration

    Delay between attempts for fixed retry policies.

    factor?: number

    Exponential multiplier. Defaults to 2.

    initialDelay?: JobDuration

    Initial delay for exponential retry policies.

    jitter?: boolean

    Whether adapters that compute delays should add jitter.

    maxDelay?: JobDuration

    Maximum delay for exponential retry policies.

    Optional app-owned retry classifier.

    strategy?: JobRetryStrategy

    Retry strategy. Raw objects without a strategy default to exponential backoff so existing { attempts } style definitions stay meaningful.