iced_runtime::task

Function effect

Source
pub fn effect<T>(action: impl Into<Action<Never>>) -> Task<T>
Expand description

Creates a new Task that executes the given Action and produces no output.