#semaphore #async

async-weighted-semaphore

An async weighted semaphore

2 unstable releases

0.2.1 Mar 13, 2021
0.2.0 Mar 13, 2021
0.1.0 Oct 5, 2020

#1540 in Asynchronous

Download history 1/week @ 2024-01-26 1/week @ 2024-02-09 21/week @ 2024-02-16 23/week @ 2024-02-23 25/week @ 2024-03-01 26/week @ 2024-03-08 39/week @ 2024-03-15 26/week @ 2024-03-22

118 downloads per month
Used in surf-pool

MIT/Apache

92KB
2K SLoC

async-weighted-semaphore

Build License Cargo Documentation

An async semaphore where any number of permits can be acquired or released in one call.

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.

No runtime deps