Skip to main content
Version: Current

DoOptions

@rotorsoft/act-root


@rotorsoft/act-root / act/src / DoOptions

Type Alias: DoOptions<_TEvents>

DoOptions<_TEvents> = object

Defined in: libs/act/src/types/action.ts:628

Per-call dispatch options for IAct.do — grouped to keep the public signature stable as new optional knobs are added.

Type Parameters​

_TEvents​

_TEvents extends Schemas = Schemas

Properties​

correlator?​

readonly optional correlator?: Correlator

Defined in: libs/act/src/types/action.ts:635

Per-call correlator override. When omitted, falls back to the orchestrator-level ActOptions.correlator (or the framework default). Useful when a single dispatch needs to thread an externally-supplied trace id without globally swapping the strategy.


reactingTo?​

readonly optional reactingTo?: Committed<Schemas, keyof Schemas>

Defined in: libs/act/src/types/action.ts:634

The committed event that triggered this action. Threads the correlation chain (correlation + causation.event) through the new commit. Inside reaction handlers, the framework auto-injects the triggering event; pass an explicit value here only to override.