Skip to main content

spawn_raw

Function spawn_raw 

Source
pub fn spawn_raw<F>(f: F, name: String, stack_size: usize) -> AxTaskRef
where F: FnOnce() + Send + 'static,
Expand description

Spawns a new task with the given parameters.

Returns the task reference.