This is unreleased documentation for Yew Next version.
For up-to-date documentation, see
the latest version on docs.rs
.
yew
0.21.0
In yew::
platform::
pinned::
oneshot
yew
::
platform
::
pinned
::
oneshot
Function
channel
Copy item path
pub fn channel<T>() -> (
Sender
<T>,
Receiver
<T>)
Expand description
Creates a oneshot channel.