API Reference ex_machine v#0.1.0

View Source

Modules

Raised when dispatching an event to a not running machine

(From SCXML): A macrostep consists of a sequence (a chain) of microsteps, at the end of which the state machine is in a stable state and ready to process an external event. Each external event causes an SCXML state machine to take exactly one macrostep. However, if the external event does not enable any transitions, no microstep will be taken, and the corresponding macrostep will be empty.

Trace and record an execution step in the statechart

Module for defining a state in a statechart.

Statechart is the internal struct powering the state machine and provides base function to compile a statechart.

Raised when a state name is used more than once

Raised when submitted an invalid definition

Raised when a state name is used that is not defined

Raised when initial state of a composite state is not defined or is not a descendants of the state