(self, config: RabbitMQConfig, log: Log)
| 16 | |
| 17 | class AsyncRabbitMQConsumer: |
| 18 | def __init__(self, config: RabbitMQConfig, log: Log) -> None: |
| 19 | self.config = config |
| 20 | self.logger = log |
| 21 | self._conn: AbstractConnection | None = None |
| 22 | self._channel: dict[str, AbstractChannel] = {} |
| 23 | self._handlers: dict[str, MessageHandler] = {} |
| 24 | self._is_initialized = False |
| 25 | self._running = False |
| 26 | self._shutdown_event = asyncio.Event() |
| 27 | |
| 28 | async def initialize( |
| 29 | self, |
nothing calls this directly
no outgoing calls
no test coverage detected