ExecutionPlane.Contracts.ExecutionEvent.V1 (execution_plane v0.1.0)

Copy Markdown View Source

Append-only raw execution fact emitted by the Execution Plane.

Summary

Types

t()

@type t() :: %ExecutionPlane.Contracts.ExecutionEvent.V1{
  contract_version: String.t(),
  event_id: String.t(),
  event_type: String.t(),
  lineage: ExecutionPlane.Contracts.lineage_t(),
  payload: map(),
  route_id: String.t(),
  timestamp: String.t()
}

Functions

contract_version()

@spec contract_version() :: String.t()

dump(event)

@spec dump(t()) :: map()

new(value)

@spec new(map() | keyword() | t()) :: {:ok, t()} | {:error, Exception.t()}

new!(value)

@spec new!(map() | keyword() | t()) :: t()