EventRecord

sec.EventRecord
See theEventRecord companion object
final case class EventRecord(streamId: StreamId, streamPosition: Exact, logPosition: Exact, eventData: EventData, created: ZonedDateTime) extends Event

An event persisted in an event stream.

Value parameters

created

the creation date of the event in java.time.ZonedDateTime.

eventData

the payload of the event.

logPosition

The position of the event in the global stream.

streamId

the stream identifier of the stream the event belongs to.

streamPosition

The stream position of the event in its stream.

Attributes

Companion
object
Source
event.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Event
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product