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

Function yew::platform::pinned::oneshot::channel

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

Creates a oneshot channel.