From a9de9675fbe7e033f152ce28f68adfff65b48e08 Mon Sep 17 00:00:00 2001 From: USHER-PB Date: Sun, 6 Apr 2025 18:38:08 +0100 Subject: [PATCH] docs:added broadcast documentation --- docs/broadcast.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/broadcast.md b/docs/broadcast.md index d80e5f0..111c587 100644 --- a/docs/broadcast.md +++ b/docs/broadcast.md @@ -2,7 +2,7 @@ ## Introduction - Broadcasting is a means of communication whereby information is transferred from a single producer to multiple consumers or receivers. Here , Broadcast channels are the channels through which broadcasting occurs. + Broadcasting is a means of communication whereby information is transferred from a single or multiple producers to one or more consumers or receivers. Here , Broadcast channels are the channels through which broadcasting occurs. ## Why broadcasting @@ -28,7 +28,7 @@ - ### Data Isolation When using a broadcast channel, each user receives their own copy of the data, preventing shared access that could lead to data races. -- ### Concurrency Managemen +- ### Concurrency Management Even though broadcast channels work with MPSC (Multiple Producer, Single Consumer), they allow multiple users to send messages by cloning the user. This reduces potential issues that may arise if two users attempt to send messages simultaneously. - ### Offline Message Retrieval