Skip to main content

current_runtime_handle

Function current_runtime_handle 

Source
pub fn current_runtime_handle() -> Option<RuntimeHandle>
Expand description

Gets the current runtime handle from thread-local storage.

Returns the most recently pushed active runtime, or the last known runtime. Used by fling animation and other components that need access to the runtime.