pub fn spawn_task<F>(future: F)where F: Future<Output = ()> + Send + 'static,
Helper to spawn asynchronous tasks in a target-agnostic manner.