pub fn block_on<F: Future>(f: F) -> F::Output
Block on async code (native only).
On WASM, this function is not available - use async methods directly with wasm_bindgen_futures::spawn_local or await.
wasm_bindgen_futures::spawn_local