EventRecord

final case class EventRecord[P <: PositionInfo](streamId: StreamId, position: P, eventData: EventData, created: ZonedDateTime) extends Event[P]

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.

position

the position information about of the event.

streamId

the stream identifier of the stream the event belongs to.

Companion:
object
trait Serializable
trait Product
trait Equals
trait Event[P]
class Object
trait Matchable
class Any

Value members

Inherited methods

Inherited from:
Product