Dispose of the worker pool, terminating all workers.
Get the next request ID for this pool.
The next request ID
Check if the pool has reached its maximum capacity.
True if the pool is at maximum capacity, false otherwise
Terminate all workers in the pool and clean up resources.
Common interface for worker pools. Both ReusableWorkerPool and TransientWorkerPool implement this interface.
Remarks
This interface defines the contract for worker pool implementations. Users typically use ReusableWorkerPool for persistent worker pools, while the internal default pool uses TransientWorkerPool for automatic cleanup.