Skip to content

Does tokio have a native way to do MPMC (multiple producers / multiple consumers)? #3891

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

You must be logged in to vote

Tokio does not provide a traditional mpmc channel where each message is seen by exactly one receiver. If you need this, I recommend that you use the async-channel or flume crates.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@ilmoi
Comment options

Answer selected by Darksonn
Comment options

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

@stevenleadbeater
Comment options

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