Skip to main content

set_global_session_registry

Function set_global_session_registry 

Source
pub fn set_global_session_registry(
    registry: Arc<dyn SessionRegistry>,
) -> Result<(), GlobalSessionRegistryAlreadySet>
Expand description

Publish the process-global session registry. Called once at startup; a second call returns an error so the caller can detect a publication race.