Chronicle. EventSequences. TransactionalEventSequence
(cratis_chronicle v1.0.1)
Copy Markdown
View Source
Transactional view of an event sequence.
Appends are buffered in the current unit of work and are only sent to Chronicle when the unit of work is committed.
Summary
Functions
Buffers a single event append in the current unit of work.
Buffers multiple event appends in the current unit of work.
Creates a transactional event sequence wrapper.
Types
@type t() :: %Chronicle.EventSequences.TransactionalEventSequence{ event_sequence: Chronicle.EventSequences.EventSequence.t() }
Functions
Buffers a single event append in the current unit of work.
Buffers multiple event appends in the current unit of work.
@spec new(Chronicle.EventSequences.EventSequence.t()) :: t()
Creates a transactional event sequence wrapper.