JournalEntry class

An event together with the journal coordinates it was committed under.

A store publishes one on its live stream after the transaction commits, so a subscriber never has to read the journal to learn where an event landed.

Constructors

JournalEntry(Event event, int position, String persistenceId, int sequenceNumber)
const

Properties

event → Event
final
hashCode → int
The hash code for this object.
no setterinherited
persistenceId → String
final
position → int
The event's position in the whole journal: unique, and increasing in commit order. What EventStream.allEventsWithSequence reports.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sequenceNumber → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited