pub mod actor;
pub mod error;
#[cfg(feature = "hot_code_loading")]
pub mod hotswap;
pub mod net;
pub mod process;
pub mod resource;
pub mod timer;
mod compute;
mod mailbox;
mod runtime;
mod scheduler;
mod task;
pub use actor::{Actor, ActorContext, ActorError, ActorId};
pub use compute::{ComputeConfig, ComputeError, ComputeHandle, ComputeScheduler};
pub use error::RuntimeError;
#[cfg(feature = "hot_code_loading")]
pub use hotswap::types::{
ActorSpec, ActorVTable, DeserializeFn, DropFn, MessageHandler, MigrateFn, SerializeFn,
VersionedActorRef, WorkItem, WorkerError, WorkerMessage, WorkerResponder,
};
#[cfg(feature = "hot_code_loading")]
pub use hotswap::dynamic_supervisor::DynamicSupervisor;
#[cfg(feature = "hot_code_loading")]
pub use hotswap::{
ActorFactory, CodeChangeResult, CodeManager, CodePath, DynamicLibrary, HotSwappable,
LibraryLoader, MigrationFn, MigrationRegistry, StateMigration,
};
pub use resource::{Capability, ResourceHandle, ResourceRegistry};
pub use runtime::{
ActorInfo, RequestHandle, Runtime, RuntimeConfig, RuntimeSender, RuntimeStats, SleepFuture,
TimeoutFuture,
};
pub use scheduler::Scheduler;
pub use supervision::{ChildSpec, RestartPolicy, RestartStrategy, Supervisor};
pub use task::{CancellationToken, TaskError, TaskGroup, TaskHandle, TaskId};
pub use timer::{Timer, TimerConfig, TimerId};
mod supervision;