Asyncio : Waiting for completed task when an exception occurs

后端 未结 0 1990
梦谈多话
梦谈多话 2021-01-30 18:30

The code has 5 workers working. Every worker is like this (short code):

async def worker(name):   

   queue_item = await queue.get()
   msg = queue_item.message          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题