EventOps

final implicit class EventOps[P <: PositionInfo](val e: Event[P]) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def created: ZonedDateTime

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

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

Source:
event.scala

The payload of the event.

The payload of the event.

Source:
event.scala
def fold[A](f: EventRecord[P] => A, g: ResolvedEvent[P] => A): A

The actual event record of this event. There are two options. Either the record points to a normal event or a resolved event.

The actual event record of this event. There are two options. Either the record points to a normal event or a resolved event.

Source:
event.scala

The stream identifier of the stream the event belongs to.

The stream identifier of the stream the event belongs to.

Source:
event.scala

The stream position of the event in its stream.

The stream position of the event in its stream.

Source:
event.scala

Concrete fields

val e: Event[P]