Function std::task::spawnDeprecated [-]  [+] [src]

pub fn spawn<F>(f: F) where F: FnOnce(), F: Send

Deprecated: use std::thread::Thread::spawn and detach instead.