Skip to main content

AppExitRequestCallback

Type Alias AppExitRequestCallback 

Source
pub type AppExitRequestCallback = Rc<dyn Fn(&mut App) -> Task<AppExitResponse>>;
Expand description

A callback type that is used by AppLifecycleListener::on_exit_requested to ask the application if it wants to cancel application termination or not.

Aliased Typeยง

pub struct AppExitRequestCallback { /* private fields */ }