Function cosmic::iced_winit::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.