extern crate self as behavior;
#[path = "behavior.rs"]
mod algebra;
mod deadlined;
mod stashing;
mod supervising;
mod verdict;
mod watching;
mod fsm;
mod protocol;
mod shutdown;
mod spec;
pub use algebra::{
Acted, Actions, Address, Base, Become, Behavior, BehaviorActed, BirthMode, Births, Create,
CreationKind, Delivery, FnState, MailAddr, NoBirths, Recipient, Route, SendAlgebra,
SendProduct, ServiceSends, State, Transcript, User, UserEvent, run,
};
pub use deadlined::{At, AtEvent, AtReaction};
pub use fsm::{Fsm, Move};
pub use protocol::{
AtGeneration, AtId, ChildEvent, ChildStopped, ObserveChild, ObservePeer, PeerEvent,
PeerStopped, ReportWorkerStopped, ScheduleAt, ShutdownEvent, ShutdownRequested, TimeEvent,
TimeReached, WorkerEvent, WorkerStopped,
};
pub use shutdown::{FinalizeOnShutdown, ShutdownProtocol, ShutdownReaction, StopOnShutdown};
pub use spec::Spec;
pub use stashing::{StashRoute, Stashing};
pub use supervising::{
Proxy, ProxyCommand, RestartPolicy, Strategy, Supervising, SupervisionEvent,
SupervisionFailure, SupervisionFailureReaction, restart_all, restart_one, restart_rest,
retire_on_supervision_failure, stop_on_supervision_failure,
};
pub use verdict::{Never, Step};
pub use watching::{LinkReaction, WatchEvent, Watching, stop_on_abnormal_death};
mod exit;
pub use exit::{Crash, Exit, RestartDenial, SupervisionFailureReason};
pub use behavior_macros::workers;