reqwest_cross

Function spawn

Source
pub fn spawn<F>(future: F)
where F: 'static + Send + Future, F::Output: Send + 'static,
Expand description

Spawns a future on the underlying runtime in a cross platform way (NB: the Send bound is removed in WASM)