pub fn spawn_local<F>(future: F)where F: Future<Output = ()> + 'static,
Helper function to spawn a local task using platform-specific runtime
On native targets, uses tokio::task::spawn_local. On WASM targets, uses wasm_bindgen_futures::spawn_local.
tokio::task::spawn_local
wasm_bindgen_futures::spawn_local