Crate scheduled_thread_pool
source ·Expand description
A thread pool to execute scheduled actions in parallel.
While a normal thread pool is only able to execute actions as soon as possible, a scheduled thread pool can execute actions after a specific delay, or execute actions periodically.
Modules
- Staged builder types.
Structs
- A handle to a scheduled job.
- A pool of threads which can run tasks at specific time intervals.
Enums
- Options for what the behavior should be in regards to pending scheduled executions when the pool is dropped.