Is it possible to preserve items in a Tokio MPSC when the last Sender is dropped, but the Reciever is still active?

后端 未结 0 415
梦谈多话
梦谈多话 2020-12-30 09:22

I have a bounded Tokio MPSC queue with one sender and one reciever. I put several items into it in one task (in this case, the numbers 1 to 10, inclusive) and pull those ite

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