#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

#791 in Concurrency

Download history 17063/week @ 2026-04-17 24045/week @ 2026-04-24 13015/week @ 2026-05-01 14970/week @ 2026-05-08 11854/week @ 2026-05-15 11177/week @ 2026-05-22 13239/week @ 2026-05-29 15472/week @ 2026-06-05 16955/week @ 2026-06-12 14508/week @ 2026-06-19 8784/week @ 2026-06-26 8196/week @ 2026-07-03 13098/week @ 2026-07-10 12451/week @ 2026-07-17 16242/week @ 2026-07-24 18592/week @ 2026-07-31

62,523 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

~110KB