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

Function yew::platform::pinned::mpsc::unbounded

pub fn unbounded<T>() -> (UnboundedSender<T>, UnboundedReceiver<T>)
Expand description

Creates an unbounded channel.

The send method on Senders created by this function will always succeed and return immediately as long as the channel is open.

§Note

This channel has an infinite buffer and can run out of memory if the channel is not actively drained.