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

Copy Markdown View Source

Event emitted when an accumulator initializes its state for the first time.

Contains the initial fact's hash, value, and ancestry so that apply_event/2 can log the init fact and draw a :state_initiated edge.

Summary

Types

t()

@type t() :: %Runic.Workflow.Events.StateInitiated{
  accumulator_hash: term(),
  init_ancestry: {term(), term()} | nil,
  init_fact_hash: term(),
  init_value: term(),
  weight: non_neg_integer()
}