Skip to content

Commit 9790b2a

Browse files
authored
Merge pull request #32 from Rust-Cameroon/my-broadcast-docs-fix
docs:added broadcast documentation
2 parents a9c69b0 + a9de967 commit 9790b2a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/broadcast.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Introduction
44

5-
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.
5+
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.
66

77

88
## Why broadcasting
@@ -28,7 +28,7 @@
2828
- ### Data Isolation
2929
When using a broadcast channel, each user receives their own copy of the data, preventing shared access that could lead to data races.
3030

31-
- ### Concurrency Managemen
31+
- ### Concurrency Management
3232
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.
3333

3434
- ### Offline Message Retrieval

0 commit comments

Comments
 (0)