Skip to main content

enter_task

Function enter_task 

Source
pub fn enter_task(
    id: u64,
    location: &'static Location<'static>,
    log_state: LogState,
) -> TaskUndent
Expand description

Enter a task during type-checking and other async bits of the code.

ยงParameters

  • id, the task ID.
  • log_state, the log state of the task when it was suspended.