Context object passed to rounds and members during a run. Carries the original input, the prior round results, and run metadata.
Summary
Types
@type t() :: %CouncilEx.Context{ council: module(), input: term(), metadata: map(), prior_rounds: [CouncilEx.RoundResult.t()], run_id: String.t() }
Functions
@spec append_round(t(), CouncilEx.RoundResult.t()) :: t()
@spec previous_round(t()) :: CouncilEx.RoundResult.t() | nil