Skip to main content

channel_with

Function channel_with 

Source
pub fn channel_with<T>(value: T) -> (Sender<T>, Receiver<T>)
where T: Clone,
Expand description

Constructs a new watch channel pair, filled with the provided value