Skip to main content

set_tl_handle

Function set_tl_handle 

pub fn set_tl_handle(handle: Dial9Handle)
Available on crate feature dial9 only.
Expand description

Install handle as the current thread’s Dial9Handle.

Runtime integrations call this from their thread-start hook (e.g. tokio’s on_thread_start) so that current_handle / Dial9Handle::current return the live handle on worker threads.