Pure transition result for turn state changes.
Domain functions can produce state plus neutral events/diagnostics.
commit/1 appends those events to the state in sequence order.
Summary
Functions
Commits transition events and diagnostics to the state map.
Adds one diagnostic value to a transition.
Adds one neutral event to a transition.
Starts a pure transition for a state map.
Starts a pure transition and raises if its attributes are invalid.
Returns the Zoi schema for a pure turn transition.
Types
Functions
Commits transition events and diagnostics to the state map.
Adds one diagnostic value to a transition.
Adds one neutral event to a transition.
Starts a pure transition for a state map.
Starts a pure transition and raises if its attributes are invalid.
@spec schema() :: Zoi.schema()
Returns the Zoi schema for a pure turn transition.