Skip to main content

worker_pool_join

Function worker_pool_join 

Source
pub fn worker_pool_join(
    pool: &WorkerPool<String>,
) -> Result<(), WorkerPoolError>
Expand description

Joins every worker after shutdown.

§Parameters

§Returns

Returns the successful value produced by crate::worker_pool::worker_pool_join or an error when the operation fails.

§Errors

Returns an error value when crate::worker_pool::worker_pool_join cannot complete successfully.

§Examples

ⓘ
let _result = pharos_runtime_core::worker_pool::worker_pool_join(todo!());