worker_direct
Return the :class:kombu.Queue being a direct route to a worker.
def worker_direct(
hostname: str | Queue
) - > Queue
Return the :class:kombu.Queue being a direct route to a worker.
Parameters
| Name | Type | Description |
|---|---|---|
| hostname | `str | Queue` |
Returns
| Type | Description |
|---|---|
Queue | A queue instance configured for direct communication with the specified worker node, or the original queue if one was provided. |