spawn

Function spawn 

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

Spawns a background thread using which ever asynchronous runtime the library is built with