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
The try_recv and try_send methods will return whether the other end hung up, but there's no way to find this information in passing without potentially blocking. peek returns false when the sender has hung up without sending in order to maintain the invariant that whenever peek returns true there is data available.
So far I have not needed this functionality, so I'd suggest not adding it until somebody does.
The text was updated successfully, but these errors were encountered:
The
try_recv
andtry_send
methods will return whether the other end hung up, but there's no way to find this information in passing without potentially blocking.peek
returnsfalse
when the sender has hung up without sending in order to maintain the invariant that wheneverpeek
returnstrue
there is data available.So far I have not needed this functionality, so I'd suggest not adding it until somebody does.
The text was updated successfully, but these errors were encountered: