Runic.Workflow.Events.JoinCompleted (Runic v0.1.0-alpha.7)

Copy Markdown View Source

Derived event emitted when a Join node has all required branches satisfied.

Produced during apply_runnable/2's coordination finalization step, NOT during execute/2. Contains the result fact (collected join values) which gets logged into the graph and connected with a :produced edge.

During replay via apply_event/2, this event is folded directly without re-deriving — the completion check only runs during live execution.

Summary

Types

t()

@type t() :: %Runic.Workflow.Events.JoinCompleted{
  join_hash: term(),
  result_ancestry: {term(), term()} | nil,
  result_fact_hash: term(),
  result_value: term(),
  weight: non_neg_integer()
}