Function try_get_task_dispatcher

pub unsafe fn try_get_task_dispatcher() -> Option<TaskDispatcher>
Expand description

Returns the TaskDispatcher stored in global static storage.

§Safety

Accessing TaskDispatcher is only safe while Rust runtime is active. No synchonization is done to ensure it wasn’t dropped under you (while a handle is held)