Skip to content

Glossary: System Design Basics in C#

Channel

Also written: Channel<T>, System.Threading.Channels, ChannelWriter, ChannelReader

A .NET queue, from `System.Threading.Channels`, that tasks can share safely. Producers write with `WriteAsync`/`TryWrite`, consumers read with `await foreach` over `ReadAllAsync()`, and `Complete()` ends the stream; it serves here as an in-program stand-in for a message broker.

Where the book teaches it

Related terms

Message queueBack pressureProducer / consumer