How can I implement fairness across multiple Tokio Receivers?

⚓ rust    📅 2025-05-16    👤 surdeus    👁️ 5      

surdeus

Warning

This post was published 45 days ago. The information described in this article may have changed.

I have a Vec of Tokio mpsc Receivers, but I want to ensure fairness across them, ideally via a round robin approach.

How can I do this the right way? I would have thought there'd be an existing abstraction for this but couldn't find anything.

3 posts - 2 participants

Read full topic

🏷️ rust_feed