Expand description
Create runtime tasks.
Re-exports§
pub use sipper::Never;sipperpub use sipper::Sender;sipperpub use sipper::Sipper;sipperpub use sipper::Straw;sipperpub use sipper::sipper;sipperpub use sipper::stream;sipper
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§
- blocking
- Creates a new
Taskthat will run the given closure in a new thread. - channel
- Creates a new
Taskthat executes theActionreturned by the closure and produces the values fed to the [mpsc::Sender]. - effect
- Creates a new
Taskthat executes the givenActionand produces no output. - into_
stream - Returns the underlying [
Stream] of theTask. - oneshot
- Creates a new
Taskthat executes theActionreturned by the closure and produces the value fed to the [oneshot::Sender]. - try_
blocking - Creates a new
Taskthat will run the given closure that can fail in a new thread. - widget
- Creates a new
Taskthat runs the given [widget::Operation] and produces its output.