1 2 3 4 5
#[cfg(not(target_arch = "wasm32"))] pub use async_std::task::spawn; #[cfg(target_arch = "wasm32")] pub use async_std::task::spawn_local as spawn;