Skip to main content

get_item

Function get_item 

Source
pub fn get_item<T>() -> Option<T>
where T: Clone + 'static,
Expand description

Returns a cloned value from the current arbiter’s thread-local storage.

Returns None if the storage has already been destroyed because the thread is exiting.