Function new_user_task

Source
pub fn new_user_task(name: String, priority: u32) -> Task
Expand description

Create a new user task.

§Arguments

  • name - The name of the task
  • priority - The priority of the task

§Returns

The new task.