3 unstable releases

0.2.0 Mar 22, 2021
0.1.1 Mar 5, 2021
0.1.0 Mar 4, 2021

#1582 in Asynchronous

Download history 237/week @ 2023-12-04 378/week @ 2023-12-11 416/week @ 2023-12-18 155/week @ 2023-12-25 532/week @ 2024-01-01 337/week @ 2024-01-08 196/week @ 2024-01-15 184/week @ 2024-01-22 216/week @ 2024-01-29 77/week @ 2024-02-05 103/week @ 2024-02-12 93/week @ 2024-02-19 129/week @ 2024-02-26 111/week @ 2024-03-04 105/week @ 2024-03-11 107/week @ 2024-03-18

453 downloads per month

Apache-2.0/MIT

9KB
151 lines

Async-std's waker_set.rs

This crate is just the waker set from async_std::sync::waker_set, which I couldn't find in a standalone crate.

If upstream updates, please file an issue or PR here. All other issues and PRs should go to async-std.

See also:

  • waitlist, with different performance tradeoffs

lib.rs:

A common utility for building synchronization primitives.

When an async operation is blocked, it needs to register itself somewhere so that it can be notified later on. The WakerSet type helps with keeping track of such async operations and notifying them when they may make progress.

Dependencies

~155KB