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
?
Function
yew
::
platform
::
pinned
::
oneshot
::
channel
[
−
]
pub fn channel<T>() -> (
Sender
<T>,
Receiver
<T>)
Expand description
Creates a oneshot channel.