Function leak_playground_std::thread::spawn_scoped

source ยท
pub fn spawn_scoped<'a, F, T>(f: F) -> JoinGuard<'a, T>
where F: FnOnce() -> T + Send + 'a, T: Send + 'a,
Expand description

Spawn borrowing thread handles.