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);