#watch #channel

watch

A synchronous message passing channel that only retains the most recent value

4 releases

0.2.3 May 27, 2023
0.2.2 May 8, 2022
0.2.1 Feb 20, 2022
0.2.0 Mar 29, 2021
0.1.0 May 8, 2019

#507 in Concurrency

Download history 304/week @ 2024-12-16 151/week @ 2024-12-23 187/week @ 2024-12-30 321/week @ 2025-01-06 314/week @ 2025-01-13 261/week @ 2025-01-20 256/week @ 2025-01-27 438/week @ 2025-02-03 468/week @ 2025-02-10 291/week @ 2025-02-17 448/week @ 2025-02-24 280/week @ 2025-03-03 453/week @ 2025-03-10 396/week @ 2025-03-17 303/week @ 2025-03-24 211/week @ 2025-03-31

1,383 downloads per month
Used in 2 crates

MIT license

10KB
221 lines

This crate provides a synchronous message passing channel that only retains the most recent value.

This crate provides a parking_lot feature. When enabled, the crate will use the mutex from the parking_lot crate rather than the one from std.


watch

This crate provides a synchronous message passing channel that only retains the most recent value.

The crate is passively maintained. This means that I consider it feature complete, and that I am therefore not actively adding new features. However, if you have suggestions for new features or have found a bug, please open an issue.

Dependencies

~0–4.5MB