# `Runic.Workflow.Events.StateInitiated`
[🔗](https://github.com/zblanco/runic/blob/main/lib/workflow/events/state_initiated.ex#L1)

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.

# `t`

```elixir
@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()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
