Event

sealed trait Event[P <: PositionInfo]

A persisted event in EventStoreDB. There are two variants:

A persisted event in EventStoreDB. There are two variants:

  • EventRecord An event in an event stream.
  • ResolvedEvent A special event that contains a link and a linked event record.
Type Params
P

Tells whether the event is retrieved from the global stream PositionInfo.Global or from an individual stream PositionInfo.Local.

Companion
object
class Object
trait Matchable
class Any
class EventRecord[P]
class ResolvedEvent[P]