2 releases

0.1.1 Sep 27, 2024
0.1.0 Jun 26, 2024

#750 in Asynchronous

Download history 39/week @ 2024-10-23 27/week @ 2024-10-30 17/week @ 2024-11-06 13/week @ 2024-11-13 35/week @ 2024-11-20 55/week @ 2024-11-27 81/week @ 2024-12-04 39/week @ 2024-12-11 16/week @ 2024-12-18 1/week @ 2024-12-25 2/week @ 2025-01-01 12/week @ 2025-01-08 30/week @ 2025-01-22 23/week @ 2025-02-05

54 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