Skip to main content

init

Function init 

Source
pub fn init()
Expand description

Init the global executor, spawning as many threads as the number or cpus or the value specified by the ASYNC_GLOBAL_EXECUTOR_THREADS environment variable if specified.

ยงExamples

async_global_executor::init();