pub fn spawn_with_name<F>(f: F, name: String) -> AxTaskRefwhere F: FnOnce() + Send + 'static,
Spawns a new task with the given name and the default stack size.
Returns the task reference.