Jido.Composer.Directive.FanOutBranch (Jido Composer v0.6.0)

Copy Markdown View Source

Directive emitted per-branch when the Workflow strategy encounters a FanOutNode or MapNode.

Each FanOutBranch carries a child_node (any Node struct) and params (execution context map). The runtime dispatches execution uniformly via child_node.__struct__.run(child_node, params, []).

Summary

Types

t()

@type t() :: %Jido.Composer.Directive.FanOutBranch{
  branch_name: atom(),
  child_node: struct(),
  fan_out_id: String.t(),
  params: map(),
  result_action: atom() | nil,
  timeout: pos_integer() | nil
}