4 releases
0.2.0 | Nov 29, 2023 |
---|---|
0.1.2 | Feb 18, 2023 |
0.1.1 | Oct 6, 2021 |
0.1.0 | May 15, 2021 |
#715 in Concurrency
334 downloads per month
Used in throttle-server
14KB
177 lines
Async events
Waiting for external task completion in asynchronous Rust code.
Motivation
A pair of Future and data structure originally developed for the throttle semaphore sever, to handle a large amount of blocking request while waiting for notification from external services that semaphores have been freed again. It occurred to me that this code might also be useful to other services waiting on external events, not driving the futures to completion within their own process.
Usage
This crate is independent of the asynchronous runtime used (e.g. tokio
).
See https://docs.rs/async-events
for documentation.