Helios v0.1.0 Helios.EventJournal.Messages.PersistedEvent View Source

Represents persisted event.

Link to this section Summary

Link to this section Types

Link to this type read_error() View Source
read_error() :: :not_found | :no_stream | :stream_deleted | String.t()
Link to this type t() View Source
t() :: %Helios.EventJournal.Messages.PersistedEvent{
  created: DateTime.t(),
  data: nil | map() | struct(),
  event_id: String.t(),
  event_number: integer(),
  event_type: String.t(),
  metadata: nil | map(),
  position: nil | Helios.EventJournal.Messages.Position.t(),
  stream_id: String.t()
}