pub fn current_task_id_try() -> Option<TaskId>
Get the current task’s ID without blocking (safe for exceptions).