pub fn job_worker_thread_main(state: JobWorkerState, max_polls: Option<usize>)Expand description
Runs the worker until shutdown or the optional completed-poll limit.
§Parameters
state: Input consumed bycrate::runtime::job::job_worker_thread_main.max_polls: Input consumed bycrate::runtime::job::job_worker_thread_main.
§Returns
Returns after crate::runtime::job::job_worker_thread_main applies its in-place effect.
§Examples
ⓘ
let _result = pharos_native::runtime::job::job_worker_thread_main(todo!(), todo!());§Related
crate::runtime::jobfor adjacent helpers that share the same runtime surface.