pub fn spawn_with_attributes<T, F>( is_daemon: bool, name: Option<String>, fut: F, ) -> JoinHandle<T> ⓘwhere F: Future<Output = T> + Send + 'static, T: Message + 'static,
Spawn a new async task that the executor will run to completion.