Enum ViewPositionSaveOutcome
- Namespace
- Excalibur.EventSourcing
- Assembly
- Excalibur.EventSourcing.Abstractions.dll
Whether a view-position advance was taken or refused as stale.
public enum ViewPositionSaveOutcome
Fields
Advanced = 0The checkpoint moved to the requested position.
RefusedAsStale = 1The stored checkpoint was already at or beyond the requested position, so the advance was refused and nothing was written.
This is the expected outcome for a delayed or retried write that lost a race, and for any caller asking the checkpoint to move backwards — the monotonic guard working as designed. A caller that INTENDED to lower the position wanted ResetPositionAsync(string, CancellationToken) and must treat this as a failure of its own operation rather than ignoring it.