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

Copy Markdown View Source

Event emitted when a FanOut node splits an enumerable input into individual facts.

One event is produced per item in the enumerable. During apply_event/2, the emitted fact is logged, a :fan_out edge is drawn, and the mapped tracking state is updated for downstream FanIn coordination.

Summary

Types

t()

@type t() :: %Runic.Workflow.Events.FanOutFactEmitted{
  emitted_ancestry: {term(), term()} | nil,
  emitted_fact_hash: term(),
  emitted_value: term(),
  fan_out_hash: term(),
  source_fact_hash: term(),
  weight: non_neg_integer()
}