ReactionOptions
@rotorsoft/act-root / act/src / ReactionOptions
Type Alias: ReactionOptions
ReactionOptions =
object
Defined in: libs/act/src/types/reaction.ts:183
Options for reaction processing.
For the shared retry-pacing shape see BackoffOptions and
BackoffStrategy in ./action.js.
The backoff schedule is persisted on the stream, so every competing
worker honors it and retry advances once per real attempt.
Propertiesโ
backoff?โ
readonlyoptionalbackoff?:BackoffOptions
Defined in: libs/act/src/types/reaction.ts:186
Optional retry pacing. When omitted, a retry waits a fixed 10 seconds. Either way, no worker re-attempts the stream before the delay; the lease never sets retry timing.
blockOnErrorโ
readonlyblockOnError:boolean
Defined in: libs/act/src/types/reaction.ts:184
Whether to block on error.
maxRetriesโ
readonlymaxRetries:number
Defined in: libs/act/src/types/reaction.ts:185
Retries after the first attempt: a failing stream
is attempted maxRetries + 1 times before it blocks.