pub fn current_task() -> Option<TaskRef>
Gets the current task
Returns None if called before the task system is initialized.