BackoffStrategy
@rotorsoft/act-root / act/src / BackoffStrategy
Type Alias: BackoffStrategy
BackoffStrategy =
"fixed"|"linear"|"exponential"
Defined in: libs/act/src/types/action.ts:486
Backoff strategy for delaying the next retry attempt after a handler throws.
fixedโ waitbaseMsbetween attemptslinearโ waitbaseMs * (retry + 1)exponentialโ waitbaseMs * 2^retry, capped atmaxMsif provided
retry is the attempt counter at finalize time, where 0 is the first
attempt that just failed. The delay applies before the next attempt.