async-events

Crates.ioasync-events
lib.rsasync-events
version0.2.0
sourcesrc
created_at2021-05-15 20:19:04.0645
updated_at2023-11-29 17:01:38.646198
descriptionWaiting for external task completion in asynchronous Rust code
homepage
repositoryhttps://github.com/pacman82/async-events.git
max_upload_size
id397974
size14,186
Markus Klein (pacman82)

documentation

https://docs.rs/async-events/

README

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.

Commit count: 14

cargo fmt