Skip to main content

defer

Function defer 

pub fn defer(
    app_id: &'static str,
    title: &'static str,
    load: fn() -> Pin<Box<dyn Future<Output = Option<&'static ApplicationDefinition>> + Send>>,
) -> bool
Expand description

Register an application whose code load fetches when it is first needed. Returns false when the id is already registered.