Crate watch[][src]

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.

Structs

WatchReceiver

The receiver for the watch channel.

WatchSender

The sender for the watch channel.

Functions

channel

Creates a new watch channel.