Records one executor Outcome as an exact governed transaction.
Outcome normalization and event derivation are pure. The command appends the complete observation batch, recovers it, and returns only the durable record. CAS conflicts retry from a newly recovered prefix; unresolved durability failures stop the owning Sequencer.
Summary
Functions
Normalizes and durably records an Outcome.
Functions
@spec record(ExGAM.Domain.Sequencer.State.t(), ExGAM.Outcome.t() | map() | keyword()) :: {:ok, ExGAM.Domain.Sequencer.State.t(), ExGAM.Outcome.t()} | {:error, ExGAM.Domain.Sequencer.State.t(), term()}
Normalizes and durably records an Outcome.