Module cosmic::iced_runtime::task
source · Expand description
Create runtime tasks.
Structs§
- A handle to a
Task
that can be used for aborting it. - A set of concurrent actions to be performed by the iced runtime.
Functions§
- Creates a new
Task
that executes theAction
returned by the closure and produces the values fed to thempsc::Sender
. - Creates a new
Task
that executes theAction
returned by the closure and produces the value fed to theoneshot::Sender
. - Creates a new
Task
that runs the givenwidget::Operation
and produces its output.