Function ra_ap_stdx::thread::spawn

source ยท
pub fn spawn<F, T>(intent: ThreadIntent, f: F) -> JoinHandle<T>
where F: FnOnce() -> T + Send + 'static, T: Send + 'static,