dotnet / dotnet/dotnet-api-docs

Overwrites of current element

Open
#1,394 0 comments 0 reactions 0 assignees View on GitHub
area-System.Threading.Tasks dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

It's unclear in the documentation that the broadcast block only try to deliver the current element to all the receivers. From the formulation BroadcastBlock<T> ensures that the current element is broadcast to any linked targets before allowing the element to be overwritten, I assumed that no messages would be lost which is not the case if the receivers cannot receive the message at the time. Perhaps a clarification could be added here.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 8628ce7c-45cb-07f8-b9d9-8ed8373bc42e
* Version Independent ID: 8b97663e-f888-cddf-efcc-1712e93999fd
* Content: [BroadcastBlock<T> Class (System.Threading.Tasks.Dataflow)](https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.dataflow.broadcastblock-1?view=netcore-2.2)
* Content Source: [xml/System.Threading.Tasks.Dataflow/BroadcastBlock`1.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Threading.Tasks.Dataflow/BroadcastBlock`1.xml)
* Product: **dotnet-api**
* GitHub Login: @rpetrusha
* Microsoft Alias: **ronpet**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.