Spectre.Run.Request (Spectre v0.3.0)

Copy Markdown View Source

Transport-safe description of a Run policy request.

The authoritative Spectre.Awaitable remains in Run state. This projection exposes only opaque identifiers and logical request data to a host adapter.

Summary

Types

t()

@type t() :: %Spectre.Run.Request{
  attempts: non_neg_integer(),
  id: String.t(),
  kind: atom(),
  label: atom() | nil,
  max_attempts: pos_integer() | nil,
  metadata: map(),
  name: term(),
  status: Spectre.Awaitable.status(),
  subject_id: String.t() | nil
}