cosmic::iced_runtime::task

Function effect

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

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