Function axtask::spawn_task
source · pub fn spawn_task(task: TaskInner) -> AxTaskRefAvailable 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) -> AxTaskRefmultitask only.Adds the given task to the run queue, returns the task reference.