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

#40 in Concurrency

Download history 146887/week @ 2024-01-31 140576/week @ 2024-02-07 140851/week @ 2024-02-14 152534/week @ 2024-02-21 147927/week @ 2024-02-28 148436/week @ 2024-03-06 147533/week @ 2024-03-13 153450/week @ 2024-03-20 145658/week @ 2024-03-27 162212/week @ 2024-04-03 164032/week @ 2024-04-10 174306/week @ 2024-04-17 172590/week @ 2024-04-24 164888/week @ 2024-05-01 175141/week @ 2024-05-08 124043/week @ 2024-05-15

670,381 downloads per month
Used in 513 crates (5 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–5.5MB
~11K SLoC