Closed
Description
Receiver::recv
fails with a RecvError
if the channel is disconnected, but Sender::send
will just spin forever in that case with a future that is always pending. I'd like to have a send method that keeps trying if the channel is full but fails with a SendError
if the channel disconnects. This could be a new method, something like Sender::send_if_connected
.
Metadata
Metadata
Assignees
Labels
No labels