Maxine.State (Maxine v0.2.6)

The "state" part of "state machine." These are the structs we actually pass around, call events on, and transform in the course of normal use.

Link to this section Summary

Link to this section Types

Specs

t() :: %Maxine.State{
  data: %Maxine.Data{app: term(), options: term(), tmp: term()},
  machine: %Maxine.Machine{
    callbacks: term(),
    groups: term(),
    initial: term(),
    transitions: term()
  },
  name: Maxine.Machine.state_name(),
  previous: Maxine.Machine.state_name()
}