2 releases

0.1.1 Sep 27, 2024
0.1.0 Jun 26, 2024

#1922 in Asynchronous

Download history 68/week @ 2025-08-26 114/week @ 2025-09-02 39/week @ 2025-09-09 35/week @ 2025-09-16 68/week @ 2025-09-23 86/week @ 2025-09-30 19/week @ 2025-10-07 63/week @ 2025-10-14 84/week @ 2025-10-21 37/week @ 2025-10-28 44/week @ 2025-11-04 58/week @ 2025-11-11 44/week @ 2025-11-18 43/week @ 2025-11-25 44/week @ 2025-12-02 28/week @ 2025-12-09

171 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–1.4MB
~26K SLoC