Returns a string identifier for the worker.
Used in the printed messages & includes the process ID.
Prints the received result from a task to stdout.
Parameters: | result – The result of the task |
---|
Causes the worker to run either forever or until the Worker.max_tasks are reached.
Prints a startup message to stdout.
Prints a shutdown message to stdout.