(consumer_id, total_msgs, result_q, consumer_event)
| 97 | |
| 98 | |
| 99 | def consumer_process(consumer_id, total_msgs, result_q, consumer_event): |
| 100 | async def run(): |
| 101 | await consumer_task(consumer_id, total_msgs, result_q, consumer_event) |
| 102 | |
| 103 | asyncio.run(run()) |
| 104 | |
| 105 | |
| 106 | # ============================================================ |