pub fn spawn<F>(future: F)where F: Future + Send + 'static, F::Output: Send + 'static,
Platform-independent spawn function On native: uses tokio::spawn On WASM: uses wasm_bindgen_futures::spawn_local (single-threaded)
tokio::spawn
wasm_bindgen_futures::spawn_local