Outbox.OutboxEvent (Outbox v0.1.0-beta.1)

Copy Markdown View Source

Ecto schema for the outbox_events table.

Each row is one published domain event awaiting dispatch (or already dispatched, marked by a non-nil dispatched_at).

Summary

Types

t()

@type t() :: %Outbox.OutboxEvent{
  __meta__: term(),
  dispatched_at: DateTime.t() | nil,
  id: String.t() | nil,
  inserted_at: DateTime.t() | nil,
  name: String.t() | nil,
  payload: map() | nil
}