3 unstable releases

0.2.0 Mar 22, 2021
0.1.1 Mar 5, 2021
0.1.0 Mar 4, 2021
Download history 121/week @ 2021-07-04 165/week @ 2021-07-11 96/week @ 2021-07-18 87/week @ 2021-07-25 58/week @ 2021-08-01 67/week @ 2021-08-08 40/week @ 2021-08-15 132/week @ 2021-08-22 37/week @ 2021-08-29 77/week @ 2021-09-05 17/week @ 2021-09-12 170/week @ 2021-09-19 20/week @ 2021-09-26 85/week @ 2021-10-03 148/week @ 2021-10-10 13/week @ 2021-10-17

144 downloads per month
Used in 32 crates (via stopper)

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

w Y`