(self, consumer: AsyncRabbitMQConsumer, queue: str, exchange: str, log: Log)
| 7 | |
| 8 | class RMWorker: |
| 9 | def __init__(self, consumer: AsyncRabbitMQConsumer, queue: str, exchange: str, log: Log) -> None: |
| 10 | self.consumer = consumer |
| 11 | self.queue = queue |
| 12 | self.exchange = exchange |
| 13 | self.logger = log |
| 14 | |
| 15 | async def initialize(self, loop: asyncio.AbstractEventLoop, handlers: list[MessageHandler]) -> None: |
| 16 | await self.consumer.initialize(loop=loop) |
nothing calls this directly
no outgoing calls
no test coverage detected