Function native::task::spawn_optsDeprecated[src]

pub fn spawn_opts(opts: TaskOpts, f: proc(): Send)

Spawns a new task given the configuration options and a procedure to run inside the task.