A basic worker pool implementation that uses Phobos' std.parallelism and its TaskPool to asynchronously process requests. Due to the temporary nature of Phobos' tasks, a new receive buffer must be allocated for each request.
Constructs this worker pool for the given server.
Starts the pool, so that it will be able to process requests.
Submits a client socket to this pool for processing.
Stops the pool, so that no more requests may be processed.
A basic worker pool implementation that uses Phobos' std.parallelism and its TaskPool to asynchronously process requests. Due to the temporary nature of Phobos' tasks, a new receive buffer must be allocated for each request.