pub fn spawn<F>(future: F)where F: Future<Output = ()> + 'static,
Spawn an async task that works on both web and desktop