Skip to main content

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:543

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:550

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:549

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.