You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With mpsc channels, if I drop all the senders, any outstanding recv calls will return an error. But with oneshot channels, this doesn't seem to happen; when I drop the sender, an outstanding recv call will just hang. Is it intentional that the behavior of oneshot channels differs from mpsc channels in this regard?
The text was updated successfully, but these errors were encountered:
With
mpsc
channels, if I drop all the senders, any outstandingrecv
calls will return an error. But withoneshot
channels, this doesn't seem to happen; when I drop the sender, an outstandingrecv
call will just hang. Is it intentional that the behavior ofoneshot
channels differs frommpsc
channels in this regard?The text was updated successfully, but these errors were encountered: