1extern crate self as behavior;
8
9#[path = "behavior.rs"]
10mod algebra;
11mod deadlined;
12mod stashing;
13mod supervising;
14mod verdict;
15mod watching;
16
17mod fsm;
19mod spec;
20
21pub use algebra::{
22 Acted, Actions, Address, Base, Become, Behavior, BirthMode, Births, Create, Delivery, FnState,
23 MailAddr, NoBirths, Recipient, Route, SendAlgebra, SendProduct, ServiceSends, State,
24 Transcript, User, UserEvent, run,
25};
26pub use deadlined::{
27 At, AtEvent, AtGeneration, AtId, AtReaction, ScheduleAt, TimeEvent, TimeReached,
28};
29pub use fsm::{Fsm, Move};
30pub use spec::Spec;
31pub use stashing::{StashRoute, Stashing};
32pub use supervising::{
33 ChildEvent, ChildStopped, ObserveChild, Proxy, ProxyCommand, RestartPolicy, Strategy,
34 Supervising, SupervisionEvent, restart_all, restart_one, restart_rest,
35};
36pub use verdict::{Never, Step};
37pub use watching::{
38 LinkReaction, ObservePeer, PeerEvent, PeerStopped, WatchEvent, Watching, stop_on_abnormal_death,
39};
40
41mod exit;
42
43pub use exit::{Crash, Exit};
44
45pub use behavior_macros::workers;