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

Module oneshot

Expand description

A channel that can pass one single value from a sender to a receiver.

Structs§

Receiver
The receiver of a oneshot channel.
RecvError
Error returned when the channel is closed before a value is sent to the Receiver.
Sender
The sender of a oneshot channel.

Functions§

channel
Creates a oneshot channel.