This is unreleased documentation for Yew Next version.
For up-to-date documentation, see the latest version on docs.rs.

channel

Function channel 

pub fn channel<T>() -> (Sender<T>, Receiver<T>)
Expand description

Creates a oneshot channel.