Skip to main content

lifecycle_handler

Function lifecycle_handler 

Source
pub fn lifecycle_handler() -> Option<Arc<LifecycleHandler>>
Expand description

The installed handler, if an embedder installed one.

A host calls this rather than holding the handler, because the embedder may install it after the host has started listening: AgencyZero registers during Tauri’s setup, which runs after the runtime is built.