9 releases

0.2.7 Mar 7, 2023
0.2.6 May 27, 2022
0.2.5 Jun 30, 2020
0.2.4 Mar 21, 2020
0.1.0 Apr 19, 2017

#34 in Concurrency

Download history 101429/week @ 2024-07-30 106091/week @ 2024-08-06 103282/week @ 2024-08-13 99615/week @ 2024-08-20 95416/week @ 2024-08-27 104039/week @ 2024-09-03 98408/week @ 2024-09-10 95770/week @ 2024-09-17 117602/week @ 2024-09-24 112880/week @ 2024-10-01 110127/week @ 2024-10-08 117827/week @ 2024-10-15 119395/week @ 2024-10-22 116117/week @ 2024-10-29 105190/week @ 2024-11-05 119406/week @ 2024-11-12

480,231 downloads per month
Used in 552 crates (6 directly)

MIT/Apache

26KB
578 lines

scheduled-thread-pool

Documentation

A thread pool which can schedule execution at a specific delay and repeat it periodically.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

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.

Dependencies

~0.4–6MB
~11K SLoC