Raxol. Workflow. Edge. GuardedEdge
(Raxol v2.6.0)
View Source
Edge that is taken only when guard.(state) returns truthy.
The runtime evaluates guards in the order edges were added. The first matching guard wins; if no guard matches, the next outgoing edge (static or conditional) is consulted.
Summary
Types
@type t() :: %Raxol.Workflow.Edge.GuardedEdge{ from: Raxol.Workflow.Node.id(), guard: (any() -> any()), to: Raxol.Workflow.Node.id() }