Function cosmic::iced_widget::runtime::task::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.