EventRecord

sec.EventRecord
See theEventRecord companion object
final case class EventRecord[P <: PositionInfo](streamId: StreamId, position: P, eventData: EventData, created: ZonedDateTime) extends Event[P]

An event persisted in an event stream.

Attributes

created

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

eventData

the payload of the event.

position

the position information about of the event.

streamId

the stream identifier of the stream the event belongs to.

Companion:
object
Source:
event.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Event[P]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product