Expand description
Worker interface for centralized task management
This module provides the interface for a global worker pool that can be used by various components to schedule and manage background tasks.
Structs§
- Closure
Task - Adapter to convert a closure into a SchedulableTask
- Once
Closure Task - Adapter to convert a FnOnce closure into an OnceTask
- Scheduler
Service - Wrapper type for registering Scheduler in IocContainer
- Task
Context - Task
Handle - Handle to a scheduled task in the worker pool
Enums§
Traits§
- Once
Task - Trait for one-time tasks that consume themselves on execution
- Schedulable
Task - Scheduler