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

#33 in Concurrency

Download history 89902/week @ 2024-07-04 91153/week @ 2024-07-11 101513/week @ 2024-07-18 100529/week @ 2024-07-25 103059/week @ 2024-08-01 108011/week @ 2024-08-08 100469/week @ 2024-08-15 99479/week @ 2024-08-22 93304/week @ 2024-08-29 106359/week @ 2024-09-05 98311/week @ 2024-09-12 98458/week @ 2024-09-19 117623/week @ 2024-09-26 116718/week @ 2024-10-03 110231/week @ 2024-10-10 119290/week @ 2024-10-17

483,518 downloads per month
Used in 547 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–5MB
~11K SLoC