Skip to main content

worker_runtime

Function worker_runtime 

Source
pub fn worker_runtime(name: &str, workers: usize) -> Result<Runtime>
Expand description

Build an explicitly sized async runtime. Runtime owners must destroy it outside an async executor thread.