#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

#1595 in Asynchronous


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