asyncio : How to handle empty queue?

后端 未结 0 2018
误落风尘
误落风尘 2021-02-04 01:58

I want to handle the empty exception

https://docs.python.org/3/library/queue.html#queue.Empty

https://docs.python.org/3/library/queue.html#queue.SimpleQueue.get

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