1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/// 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.

pub mod commutator;
pub mod event;
pub mod stator;
pub mod sender;
pub mod handler;
mod store;
pub mod utils;

pub use commutator::Commutator;
pub use event::Destination;
pub use stator::{Response, State};
pub use sender::Sender;
pub use handler::Handler;
pub use store::Store;