async_global_executor

Function spawn_more_threads

source
pub async fn spawn_more_threads(count: usize) -> Result<usize>
Expand description

Spawn more executor threads, up to configured max value.

Returns how many threads we spawned.

ยงExamples

async_global_executor::spawn_more_threads(2);