fn spawn(f: impl Future<Output = ()> + 'static)
Runs a future to completion. On native this blocks synchronously via pollster. On wasm this spawns a local task so control returns to the browser immediately.