pub fn job_worker_stop(
state: &JobWorkerState,
) -> Result<(), JobWorkerLifecycleError>Expand description
Signals a managed worker, joins it, and releases its owned thread handle.
§Parameters
state: Input consumed bycrate::runtime::job::job_worker_stop.
§Returns
Returns the successful value produced by crate::runtime::job::job_worker_stop or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::job::job_worker_stop cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::runtime::job::job_worker_stop(todo!());§Related
crate::runtime::jobfor adjacent helpers that share the same runtime surface.