Skip to main content

channel

Function channel 

Source
pub fn channel<S>(initial: S) -> (LivePublisher<S>, LiveSource<S>)
where S: Send + Sync + 'static,
Expand description

Creates a publisher and a source that share initial as their root value.