View Source Protean.State (Protean v0.0.3)
Snapshot of active states, context, and the latest event seen by the machine.
This module is rarely interacted with directly. Instead, use the API exposed by the top-level
Protean
, such as Protean.matches?/2
, or actions exposed by Protean.Action
.
Link to this section Summary
Link to this section Types
@opaque private_state()
@type t() :: %Protean.State{ context: context(), event: Protean.event() | nil, final: value(), private: private_state(), value: value() }
@type value() :: MapSet.t(Protean.Node.id())