# Tokio Authors - Tokio mpsc (Highlights) ![rw-book-cover|256](https://readwise-assets.s3.amazonaws.com/static/images/article3.5c705a01b476.png) ## Metadata **Review**:: [readwise.io](https://readwise.io/bookreview/57248829) **Source**:: #from/readwise #from/reader **Zettel**:: #zettel/fleeting **Status**:: #x **Authors**:: [[Tokio Authors]] **Full Title**:: Tokio mpsc **Category**:: #articles #readwise/articles **Category Icon**:: 📰 **URL**:: [docs.rs](https://docs.rs/tokio/latest/tokio/sync/mpsc/) **Host**:: [[docs.rs]] **Highlighted**:: [[2026-01-01]] **Created**:: [[2026-01-03]] ## Highlights - If you need a bounded channel, you should use a bounded Tokio `mpsc` channel for both directions of communication. ([View Highlight](https://read.readwise.io/read/01kdwr49cfw8k4krnz35n3s87d)) ^972373890 - You should use the kind of channel that matches where the receiver is. So for sending a message *from async to sync*, you should use [the standard library unbounded channel](https://doc.rust-lang.org/nightly/std/sync/mpsc/fn.channel.html) or [crossbeam](https://docs.rs/crossbeam/*/crossbeam/channel/fn.unbounded.html). Similarly, for sending a message *from sync to async*, you should use an unbounded Tokio `mpsc` channel. ([View Highlight](https://read.readwise.io/read/01kdwr4nkssvjcjyshafhtnwrc)) ^972373990