Enum ConcurrencyDimensions

Namespace
Cratis.Chronicle.EventSources
Assembly
Cratis.Chronicle.dll

Represents the dimensions that take part in a concurrency check for an event source or event stream.

[Flags]
public enum ConcurrencyDimensions
Extension Methods

Fields

EventSourceId = 1

The event source id.

EventSourceType = 2

The event source type.

EventStreamId = 8

The event stream id.

EventStreamType = 4

The event stream type.

None = 0

No dimensions are declared.

Remarks

When an append does not provide a concurrency scope, the scope is narrowed to the declared dimensions. None means nothing is declared, and the append keeps the scope it would have had without event sources.