2 releases

0.1.1 Sep 27, 2024
0.1.0 Jun 26, 2024

#757 in Asynchronous

Download history 28/week @ 2024-11-04 8/week @ 2024-11-11 39/week @ 2024-11-18 40/week @ 2024-11-25 61/week @ 2024-12-02 70/week @ 2024-12-09 22/week @ 2024-12-16 1/week @ 2024-12-23 2/week @ 2024-12-30 8/week @ 2025-01-06 4/week @ 2025-01-13 30/week @ 2025-01-20 18/week @ 2025-02-03 18/week @ 2025-02-10 10/week @ 2025-02-17

56 downloads per month
Used in 21 crates (2 directly)

Apache-2.0

17KB
362 lines

Asynchronous Trigger

This crate provides a SPMC barrier where any number of parties can wait for a single other party to complete an action.

Additionally, a promise implementation is provided, implemented in terms of the trigger, that allows any number of parties to wait for a single producer to generate a value.

Dependencies

~1–6MB
~27K SLoC