cosmic::iced_winit::runtime

Function exit

source
pub fn exit<T>() -> Task<T>
Expand description

Creates a Task that exits the iced runtime.

This will normally close any application windows and terminate the runtime loop.