Function std::task::spawnUnstable
[-]
[+]
[src]
pub fn spawn(f: proc(): Send)
Creates and executes a new child task
Sets up a new task with its own call stack and schedules it to run the provided unique closure.
This function is equivalent to TaskBuilder::new().spawn(f).