[go: up one dir, main page]

spawn

Function spawn 

Source
pub fn spawn<F, T>(f: F) -> JoinHandle<T>
where F: FnOnce() -> T + Send + 'static, T: Send + 'static,
Expand description

Spawn a thread and transfer the deterministic Context.