View Source EventStore.EventData (EventStore v1.4.7)

EventData contains the data for a single event before being persisted to storage

Summary

Types

t()

@type t() :: %EventStore.EventData{
  causation_id: uuid() | nil,
  correlation_id: uuid() | nil,
  data: term(),
  event_id: uuid() | nil,
  event_type: String.t(),
  metadata: term() | nil
}

uuid()

@type uuid() :: String.t()

Functions

fetch(map, key)

get_and_update(map, key, fun)