Skip to main content

get_lifetime_controller

Function get_lifetime_controller 

Source
pub async fn get_lifetime_controller() -> &'static SoftCycleController<SoftCycleMessage>
Available on crate feature global_instance only.
Expand description

Returns a reference to the global SoftCycleController, initializing it on first call.