Expand description
Bounded async worker pool with streaming events and cooperative cancellation.
Re-exports§
pub use bridge::as_provider;pub use bridge::from_provider;pub use dispatch::DispatchStrategy;pub use dispatch::RoundRobinDispatcher;pub use event::Event;pub use event::EventKind;pub use event::Progress;pub use handler::Handler;pub use pool::OverflowPolicy;pub use pool::Pool;pub use pool::PoolConfig;pub use pool::PoolStats;pub use scheduler::ExecutionPlan;pub use scheduler::ResourceRequirements;pub use scheduler::Scheduler;pub use scheduler::SchedulerConfig;pub use scheduler::SchedulingDecision;pub use scheduler::TaskBatch;pub use scheduler::TaskSpec;pub use scheduler::WorkerScheduler;pub use task::TaskHandle;
Modules§
- bridge
- Provider/handler bridge adapters for interoperability with
rskit-provider. Bridges betweenHandlerandrskit_providertraits. - dispatch
- Task dispatch strategies (e.g. round-robin).
- event
- Event types emitted by tasks during execution.
- handler
Handlertrait implemented by task executors.- pool
PoolandPoolConfigfor managing concurrent task execution. Bounded async worker pool with streaming events and cooperative cancellation.- scheduler
- Task specs and scheduling helpers built on the worker pool. Task specs and scheduling helpers built on the worker pool.
- task
TaskHandlereturned to callers after task submission.