#message-channel #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

#417 in Concurrency

Download history 10905/week @ 2025-10-09 10210/week @ 2025-10-16 15110/week @ 2025-10-23 12223/week @ 2025-10-30 10829/week @ 2025-11-06 13930/week @ 2025-11-13 18601/week @ 2025-11-20 17868/week @ 2025-11-27 17690/week @ 2025-12-04 16237/week @ 2025-12-11 8334/week @ 2025-12-18 2283/week @ 2025-12-25 10423/week @ 2026-01-01 20954/week @ 2026-01-08 22635/week @ 2026-01-15 13795/week @ 2026-01-22

68,146 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

~120KB