Ex4pmCore.ProcessIR.Choice (ex4pm v26.9.9)

Copy Markdown View Source

A branching choice construct (XOR, OR, or generalized choice graph).

Summary

Types

choice_type()

@type choice_type() :: :xor | :or | :deferrable | :choice_graph

t()

@type t() :: %Ex4pmCore.ProcessIR.Choice{
  branches: [String.t()],
  conditions: %{optional(String.t()) => String.t()},
  default_branch: String.t() | nil,
  id: String.t(),
  metadata: map(),
  type: choice_type()
}