Function task::get_task

source ·
pub fn get_task(task_id: usize) -> Option<WeakTaskRef>
Expand description

Returns a WeakTaskRef (shared reference) to the Task specified by the given task_id.