ibento_event_store v0.0.4 Ibento.EventStore.Event protocol View Source

Link to this section Summary

Link to this section Types

Link to this type long(event_data) View Source
long(event_data) :: %Ibento.EventStore.Event{
  causation: nil | binary(),
  correlation: nil | binary(),
  cursor: nil | binary(),
  data: event_data,
  debug: boolean(),
  id: Ibento.UUID.t(),
  inserted_at: nil | binary() | DateTime.t(),
  metadata: map(),
  streams: nil | streams(),
  type: binary()
}
Link to this type short(event_data) View Source
short(event_data) :: event_data | {event_data, streams()}
Link to this type streams() View Source
streams() :: [binary()]
Link to this type t(event_data) View Source
t(event_data) :: long(event_data) | short(event_data)

Link to this section Functions