Skip to main content

job_worker_thread_main

Function job_worker_thread_main 

Source
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

§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!());