cosmic::iced::runtime::task

Function widget

source
pub fn widget<T>(operation: impl Operation<T> + 'static) -> Task<T>
where T: Send + 'static,
Expand description

Creates a new Task that runs the given widget::Operation and produces its output.