-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Description
These methods combine two operations: send/recv and check whether the channel is closed. try_recv
in particular does not do what you would expect - recv or return immediately if no message is available.
No expressiveness would be lost by making the is_closed
check its own method, though it may be slightly less efficient.
Nominating.
Metadata
Metadata
Assignees
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.