EventOps

final 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.

The payload of the event.

The payload of the event.

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.

def render: String

The stream identifier of the stream the event belongs to.

The stream identifier of the stream the event belongs to.

The stream position of the event in its stream.

The stream position of the event in its stream.

Concrete fields

val e: Event[P]