From d3d254c655f7265ddedaa0fdb973d7e23352f820 Mon Sep 17 00:00:00 2001 From: Patrick Stevens <3138005+Smaug123@users.noreply.github.com> Date: Fri, 20 Sep 2024 21:01:37 +0100 Subject: [PATCH] Note that channels are FIFO (#42637) --- docs/core/extensions/channels.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/extensions/channels.md b/docs/core/extensions/channels.md index 1668e9f1e1bac..b46af3914801c 100644 --- a/docs/core/extensions/channels.md +++ b/docs/core/extensions/channels.md @@ -14,7 +14,7 @@ This library is available in the [System.Threading.Channels](https://www.nuget.o ## Producer/consumer conceptual programming model -Channels are an implementation of the producer/consumer conceptual programming model. In this programming model, producers asynchronously produce data, and consumers asynchronously consume that data. In other words, this model hands off data from one party to another. Try to think of channels as you would any other common generic collection type, such as a `List`. The primary difference is that this collection manages synchronization and provides various consumption models through factory creation options. These options control the behavior of the channels, such as how many elements they're allowed to store and what happens if that limit is reached, or whether the channel is accessed by multiple producers or multiple consumers concurrently. +Channels are an implementation of the producer/consumer conceptual programming model. In this programming model, producers asynchronously produce data, and consumers asynchronously consume that data. In other words, this model passes data from one party to another through a first-in first-out ("FIFO") queue. Try to think of channels as you would any other common generic collection type, such as a `List`. The primary difference is that this collection manages synchronization and provides various consumption models through factory creation options. These options control the behavior of the channels, such as how many elements they're allowed to store and what happens if that limit is reached, or whether the channel is accessed by multiple producers or multiple consumers concurrently. ## Bounding strategies