Skip to main content

default_pool_size

Function default_pool_size 

Source
pub fn default_pool_size() -> usize
Expand description

The number of worker threads the default executor runs: one per available core, at least two. (With the tokio feature or on wasm32 the default executor is something else, and this is 0.)