pub fn worker_pool_request_shutdown(
pool: &WorkerPool<String>,
) -> Result<(), WorkerPoolError>Expand description
Requests shutdown of a string worker pool.
§Parameters
pool: Input consumed bycrate::worker_pool::worker_pool_request_shutdown.
§Returns
Returns the successful value produced by crate::worker_pool::worker_pool_request_shutdown or an error when the operation fails.
§Errors
Returns an error value when crate::worker_pool::worker_pool_request_shutdown cannot complete successfully.
§Examples
ⓘ
let _result = pharos_runtime_core::worker_pool::worker_pool_request_shutdown(todo!());§Related
crate::worker_poolfor adjacent helpers that share the same runtime surface.