Skip to main content

resolved_worker_count

Function resolved_worker_count 

Source
pub fn resolved_worker_count(config: &ServeConfig) -> usize
Expand description

Resolves a configured worker count from the runtime environment.

§Parameters

§Returns

Returns the computed value produced by crate::binaries::resolved_worker_count.

§Examples

ⓘ
let _result = pharos_native::binaries::resolved_worker_count(todo!());
  • crate::binaries for adjacent helpers that share the same runtime surface.