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 Params
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

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product