Dex TypeScript SDK 1.35.0
    Preparing search index...

    Interface RetryPolicy

    Configures exponential retries for a Step handler or Flow.

    interface RetryPolicy {
        backoffCoefficient?: number;
        initialIntervalMs?: number;
        maximumAttempts?: number;
        maximumIntervalMs?: number;
        totalDurationMs?: number;
    }
    Index

    Properties

    backoffCoefficient?: number

    Retry-delay multiplier; uses the server default when omitted.

    initialIntervalMs?: number

    Delay before the first retry in milliseconds.

    maximumAttempts?: number

    Total attempt limit including the initial call.

    maximumIntervalMs?: number

    Upper bound for one retry delay in milliseconds.

    totalDurationMs?: number

    Retry elapsed-time limit in milliseconds; defaults to four hours when omitted. For a Step, counted from the first hand-out to a Worker. Checked only after an attempt fails to decide whether another retry can be scheduled. It never ends a running Step attempt; use the method timeout to bound an attempt.