diff options
author | Zahari Dichev <zaharidichev@gmail.com> | 2020-09-25 18:40:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-25 08:40:31 -0700 |
commit | 55d932a21fd4c5fa298ca3cfdcb1388dbbf43dd0 (patch) | |
tree | 500d0d68a991277b466eabb5b87379bb1037d093 /benches | |
parent | 444660664b96f758610a0e7201a6a1a31a0f2405 (diff) |
sync: add `mpsc::Sender::closed` future (#2840)
Adding closed future, makes it possible to select over closed and some other
work, so that the task is woken when the channel is closed and can proactively
cancel itself.
Added a mpsc::Sender::closed future that will become ready when the receiver
is closed.
Diffstat (limited to 'benches')
0 files changed, 0 insertions, 0 deletions