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

Function channel

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

Creates a oneshot channel.