get_current_task

Function get_current_task 

Source
pub fn get_current_task() -> TaskInfo
Expand description

Get current task information from thread-local storage

Returns the task context for the currently executing async task. Used by the global allocator hook to attribute memory allocations.