Skip to main content

task_system_handle

Function task_system_handle 

Source
pub unsafe fn task_system_handle() -> TaskSystemHandle
Expand description

Returns the runtime-owned task-system handle, or NONE before setup.

ยงSafety

A non-NONE result must identify a pinned crate::runtime::TaskSystem that remains live until shutdown. The linked runtime provider is the trust root for this raw handle; callers cannot validate it dynamically.