Expand description
Create runtime tasks.
Re-exports§
pub use sipper::Never;
pub use sipper::Sender;
pub use sipper::Sipper;
pub use sipper::Straw;
pub use sipper::sipper;
pub use sipper::stream;
Structs§
- Handle
- A handle to a
Task
that can be used for aborting it. - Task
- A set of concurrent actions to be performed by the iced runtime.
Functions§
- channel
- Creates a new
Task
that executes theAction
returned by the closure and produces the values fed to the [mpsc::Sender
]. - effect
- Creates a new
Task
that executes the givenAction
and produces no output. - into_
stream - Returns the underlying [
Stream
] of theTask
. - oneshot
- Creates a new
Task
that executes theAction
returned by the closure and produces the value fed to the [oneshot::Sender
]. - widget
- Creates a new
Task
that runs the given [widget::Operation
] and produces its output.