#channel #watch

watch

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

1 unstable release

0.2.0 Mar 29, 2021
0.1.0 May 8, 2019

#204 in Concurrency

Download history 18/week @ 2021-06-30 22/week @ 2021-07-07 18/week @ 2021-07-14 26/week @ 2021-07-21 30/week @ 2021-07-28 32/week @ 2021-08-04 21/week @ 2021-08-11 17/week @ 2021-08-18 20/week @ 2021-08-25 21/week @ 2021-09-01 17/week @ 2021-09-08 25/week @ 2021-09-15 21/week @ 2021-09-22 20/week @ 2021-09-29 25/week @ 2021-10-06 27/week @ 2021-10-13

119 downloads per month
Used in weresocool

MIT license

8KB
175 lines

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.


lib.rs:

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.

Dependencies

~135KB