2 releases

0.1.1 Sep 27, 2024
0.1.0 Jun 26, 2024

#796 in Asynchronous

Download history 35/week @ 2024-08-19 77/week @ 2024-08-26 31/week @ 2024-09-02 33/week @ 2024-09-09 56/week @ 2024-09-16 225/week @ 2024-09-23 87/week @ 2024-09-30 15/week @ 2024-10-07 27/week @ 2024-10-14 44/week @ 2024-10-21 26/week @ 2024-10-28 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

148 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–5.5MB
~27K SLoC