Module armature::commutator[][src]

Expand description

Armature is a framework to design event-driven systems with stateful actors.

Event driven: every change in the system happens in response to an external event such as a key-press or an internal event such as a timer elapsing. These events are then dispatched to the different stators that are part of the system.

Stators: actors that contain a hierarchial state machine that responds to incoming events and are able to spawn tasks inside the async runtime.

Structs

The commutator dispatches events to the stators attached to it.