pub fn job_worker_start(
state: &JobWorkerState,
max_polls: Option<usize>,
) -> Result<(), JobWorkerLifecycleError>Expand description
Starts one managed worker thread for the supplied state.
§Parameters
state: Input consumed bycrate::runtime::job::job_worker_start.max_polls: Input consumed bycrate::runtime::job::job_worker_start.) -> Result<(: Input consumed bycrate::runtime::job::job_worker_start.
§Returns
Returns the successful value produced by crate::runtime::job::job_worker_start or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::job::job_worker_start cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::runtime::job::job_worker_start(todo!(), todo!(), todo!());§Related
crate::runtime::jobfor adjacent helpers that share the same runtime surface.