pub fn spawn_task<F>( pending_tasks: &TaskGroup, description: &'static str, fut: F, )where F: Future<Output = Result<()>> + Send + 'static,
Spawns an async task and tracks its handle in pending_tasks.
pending_tasks