2 releases

0.1.1 Sep 27, 2024
0.1.0 Jun 26, 2024

#987 in Asynchronous

Download history 21/week @ 2024-08-11 33/week @ 2024-08-18 58/week @ 2024-08-25 60/week @ 2024-09-01 33/week @ 2024-09-08 55/week @ 2024-09-15 190/week @ 2024-09-22 121/week @ 2024-09-29 16/week @ 2024-10-06 27/week @ 2024-10-13 32/week @ 2024-10-20 39/week @ 2024-10-27 28/week @ 2024-11-03 8/week @ 2024-11-10

108 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