3 unstable releases

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

#1760 in Asynchronous

Download history 98/week @ 2024-03-14 114/week @ 2024-03-21 157/week @ 2024-03-28 112/week @ 2024-04-04 103/week @ 2024-04-11 128/week @ 2024-04-18 129/week @ 2024-04-25 110/week @ 2024-05-02 105/week @ 2024-05-09 64/week @ 2024-05-16 41/week @ 2024-05-23 51/week @ 2024-05-30 31/week @ 2024-06-06 33/week @ 2024-06-13 55/week @ 2024-06-20 29/week @ 2024-06-27

153 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

~160KB