Crates.io | async-events |
lib.rs | async-events |
version | 0.2.0 |
source | src |
created_at | 2021-05-15 20:19:04.0645 |
updated_at | 2023-11-29 17:01:38.646198 |
description | Waiting for external task completion in asynchronous Rust code |
homepage | |
repository | https://github.com/pacman82/async-events.git |
max_upload_size | |
id | 397974 |
size | 14,186 |
Waiting for external task completion in asynchronous Rust code.
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.
This crate is independent of the asynchronous runtime used (e.g. tokio
).
See https://docs.rs/async-events
for documentation.