Function async_utility::thread::spawn

source ·
pub fn spawn<T>(future: T) -> Result<JoinHandle<T::Output>, Error>
where T: Future + Send + 'static, T::Output: Send + 'static,
Expand description

Spawn new thread