RetryProfile
@rotorsoft/act-root / act-ops/src/idempotency / RetryProfile
Type Alias: RetryProfile
RetryProfile =
object
Defined in: libs/act-ops/src/idempotency/min-safe-ttl.ts:33
A sender's retry behaviour, described in enough detail to size a
receiver-side dedup window correctly. The backoff shape is typed
inline structurally so it's assignable from @rotorsoft/act's
BackoffOptions without this package importing the framework
(the zero-act-dep load-bearing constraint of @rotorsoft/act-ops).
A caller holding act.BackoffOptions can pass it as backoff
with no cast โ TypeScript treats the two shapes as equivalent.
Propertiesโ
backoff?โ
readonlyoptionalbackoff?:object
Defined in: libs/act-ops/src/idempotency/min-safe-ttl.ts:35
Optional backoff strategy. When omitted, retries fire back-to-back with only the per-attempt timeout between them
baseMsโ
readonlybaseMs:number
jitter?โ
readonlyoptionaljitter?:boolean
maxMs?โ
readonlyoptionalmaxMs?:number
strategyโ
readonlystrategy:"fixed"|"linear"|"exponential"
maxRetriesโ
readonlymaxRetries:number
Defined in: libs/act-ops/src/idempotency/min-safe-ttl.ts:34
Retries after the first attempt fails
safetyFactor?โ
readonlyoptionalsafetyFactor?:number
Defined in: libs/act-ops/src/idempotency/min-safe-ttl.ts:42
Multiplier applied to the bare envelope. Default 4
timeoutMsโ
readonlytimeoutMs:number
Defined in: libs/act-ops/src/idempotency/min-safe-ttl.ts:41
Per-attempt timeout (the sender's fetch
timeout, or the equivalent for whatever transport)