Crate watch

source · []
Expand description

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.


The receiver for the watch channel.

The sender for the watch channel.


Creates a new watch channel.