Skip to main content

current_task

Function current_task 

Source
pub fn current_task() -> Option<TaskRef>
Expand description

Gets the current task

Returns None if called before the task system is initialized.