Skip to main content

thread_spawn

Function thread_spawn 

Source
pub fn thread_spawn<T>(
    result: (impl FnOnce() + Send + 'static, T),
) -> (JoinHandle<()>, T)