Delay Strategy
Per-attempt wait-time growth strategy applied to transient-failure retries.
attemptIndex is 0-based: index 0 is the first retry (i.e. the original attempt has already failed once); index 1 is the second retry; etc.
Entries
Constant delay equal to RetryPolicy.baseDelaySeconds. Same wait between every retry attempt.
Delay grows exponentially: delay = baseDelaySeconds × 2^attemptIndex, clamped to maxDelaySeconds. With base=10s, max=300s: attemptIndex 0 → 10s; 1 → 20s; 2 → 40s; 3 → 80s; 4 → 160s; 5 onward → 300s (capped).
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.