Skip to main content

spawn_with_name

Function spawn_with_name 

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

Spawns a new task with the given name and the default stack size.

Returns the task reference.