Function axtask::spawn_task
source · pub fn spawn_task(task: TaskInner) -> AxTaskRef
Available on crate feature
multitask
only.Expand description
Adds the given task to the run queue, returns the task reference.
pub fn spawn_task(task: TaskInner) -> AxTaskRef
multitask
only.Adds the given task to the run queue, returns the task reference.