iced
0.13.0-dev
Module stream
Module Items
Functions
In crate iced
Module
iced
::
stream
Copy item path
source
·
[
−
]
Expand description
Create asynchronous streams of data.
Functions
§
channel
Creates a new
Stream
that produces the items sent from a
Future
to the [
mpsc::Sender
] provided to the closure.
try_
channel
Creates a new
Stream
that produces the items sent from a
Future
that can fail to the [
mpsc::Sender
] provided to the closure.