Worker pool is used to manage and execute mutiple task of the same type using a predefined number of workers.
Workers are pre initialized to avoid the overhead of creation during execution.
These workers receive messages with a uuid of the task and the data to be processed.
The worker should respond with a message using the same structure.
Create workers for this pool.
Create task to be executed in this pool.
Data to be sent to the worker.
Function to be called by the worker after processing the data sent.