Decree.EventStore.EventData (decree v0.1.0)

Copy Markdown View Source

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

Summary

Types

t()

@type t() :: %Decree.EventStore.EventData{
  causation_id: uuid() | nil,
  correlation_id: uuid(),
  data: struct(),
  event_type: String.t(),
  metadata: map(),
  required_tag_kinds: list(),
  tags: [String.t()]
}

uuid()

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