Skip to content

Order of sending/receving message with tokio::mpsc #6830

Answered by Darksonn
vnghia asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, if msg1 is sent before msg2, then msg1 is received before msg2. This holds with any number of senders.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vnghia
Comment options

@Darksonn
Comment options

Answer selected by vnghia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants