Expand description
Create runtime tasks.
Structs§
- Handle
- A handle to a
Taskthat can be used for aborting it. - Task
- A set of concurrent actions to be performed by the iced runtime.
Functions§
- channel
- Creates a new
Taskthat executes theActionreturned by the closure and produces the values fed to thempsc::Sender. - effect
- Creates a new
Taskthat executes the givenActionand produces no output. - into_
stream - Returns the underlying
Streamof theTask. - oneshot
- Creates a new
Taskthat executes theActionreturned by the closure and produces the value fed to theoneshot::Sender. - widget
- Creates a new
Taskthat runs the givenwidget::Operationand produces its output.