pub fn channel<T: Clone>(value: T) -> (WatchSender<T>, WatchReceiver<T>)
Expand description
Creates a new watch channel.
The starting value in the channel is not initially considered seen by the receiver.
pub fn channel<T: Clone>(value: T) -> (WatchSender<T>, WatchReceiver<T>)
Creates a new watch channel.
The starting value in the channel is not initially considered seen by the receiver.