2 releases

0.1.1 Sep 27, 2024
0.1.0 Jun 26, 2024

#1124 in Asynchronous

Download history 142/week @ 2024-06-24 2/week @ 2024-07-01 6/week @ 2024-07-08 36/week @ 2024-07-15 29/week @ 2024-08-12 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

383 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