get_runtime

Function get_runtime 

Source
pub fn get_runtime() -> &'static Runtime
Expand description

Returns a reference to the global Nautilus Tokio runtime.

The runtime is lazily initialized on the first call and reused thereafter. Intended for use cases where passing a runtime around is impractical.