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
I was surprised to find that cloning a Receiver and sending a message on the connected Sender results in the message showing up at only one of the downstream Receivers, but not both. Sending more messages results in a round-robin of sorts, where the Receiver next in line awaiting recv will get the next message.
This doesn't seem to be the implied MPMC behavior, though I'm not an authority on the matter.
Here's a minimal example in the form of a failing test:
I was surprised to find that cloning a
Receiver
and sending a message on the connectedSender
results in the message showing up at only one of the downstreamReceiver
s, but not both. Sending more messages results in a round-robin of sorts, where theReceiver
next in line awaitingrecv
will get the next message.This doesn't seem to be the implied MPMC behavior, though I'm not an authority on the matter.
Here's a minimal example in the form of a failing test:
The text was updated successfully, but these errors were encountered: