pub fn spawn_detached<F>(future: F)where F: Future<Output = ()> + Send + 'static,
Platform-independent helper to spawn an async task that runs in the background.