Summary
Functions
Checks a rule's left hand side.
Evaluates a rule, checking its left hand side, then evaluating the right.
Types
@type t() :: %Runic.Workflow.Rule{ arity: arity(), closure: Runic.Closure.t() | nil, condition_hash: Runic.Identity.t() | integer() | binary(), condition_refs: [{atom(), term()}], hash: Runic.Identity.t() | integer() | binary(), inputs: term(), name: String.t(), outputs: term(), reaction_hash: Runic.Identity.t() | integer() | binary(), workflow: Runic.Workflow.t() }
A rule.
The condition_refs field carries compile-time condition reference markers
that need to be resolved at connect-time. Each entry is a {ref_name, target_hash}
tuple where target_hash is the hash of the node (Conjunction or reaction Step)
that the resolved condition should wire to.