worker_shutdown_handler
Handles the worker_shutdown signal by printing a confirmation message to the standard output.
def worker_shutdown_handler(
sender: object,
**kwargs: dict
)
Handles the worker shutdown signal to perform cleanup tasks when the Celery worker process terminates.
Parameters
| Name | Type | Description |
|---|---|---|
| sender | object | The sender of the shutdown signal, typically the Celery worker instance. |
| **kwargs | dict | Additional keyword arguments passed by the signal dispatcher. |
Returns
| Type | Description |
|---|---|
| Nothing is returned by this signal handler. |