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