Spectre.Invocation.Receipt (Spectre v0.3.2)

Copy Markdown View Source

Compatibility name for the original correlated internal receipt.

New runtime code uses a separate internal worker-receipt struct that makes the BEAM-local capability boundary explicit. This compatibility struct remains readable so existing integrations and persisted API manifests do not break.

Summary

Types

t()

@type t() :: %Spectre.Invocation.Receipt{
  capability: reference(),
  dispatch_id: String.t(),
  generation: String.t(),
  invocation_id: String.t(),
  outcome: Spectre.Runtime.step_result(),
  run_id: String.t(),
  run_revision: non_neg_integer()
}