Skip to main content

ReactionOptions

@rotorsoft/act-root


@rotorsoft/act-root / act/src / ReactionOptions

Type Alias: ReactionOptions

ReactionOptions = object

Defined in: libs/act/src/types/reaction.ts:211

Options for reaction processing.

Propertiesโ€‹

backoff?โ€‹

readonly optional backoff?: BackoffOptions

Defined in: libs/act/src/types/reaction.ts:214

Optional retry pacing. When omitted, retries run as soon as the lease expires (current behavior โ€” implicit backoff bounded by leaseMillis). When set, the drain controller waits at least the computed delay before re-attempting on this worker.


blockOnErrorโ€‹

readonly blockOnError: boolean

Defined in: libs/act/src/types/reaction.ts:212

Whether to block on error.


maxRetriesโ€‹

readonly maxRetries: number

Defined in: libs/act/src/types/reaction.ts:213

Maximum number of retries.