Skip to main content

max_async_runtime_worker_threads

Function max_async_runtime_worker_threads 

Source
pub fn max_async_runtime_worker_threads() -> usize
Expand description

Platform-realizable worker ceiling after applying this crate’s production cap.

On wasm32-wasip1-threads Rayon reports 255 (THREADS_BITS = 8 on 32-bit), so this returns 255 there rather than the native cap of 256.