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