3 unstable releases

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

#1946 in Asynchronous

Download history 60/week @ 2024-07-28 36/week @ 2024-08-04 44/week @ 2024-08-11 28/week @ 2024-08-18 43/week @ 2024-08-25 16/week @ 2024-09-01 19/week @ 2024-09-08 19/week @ 2024-09-15 39/week @ 2024-09-22 29/week @ 2024-09-29 2/week @ 2024-10-06 4/week @ 2024-10-13 14/week @ 2024-10-20 35/week @ 2024-10-27 19/week @ 2024-11-03 4/week @ 2024-11-10

73 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