Class GuaranteedBroadcastBlock<T>
- Namespace
- CounterpointCollective.Dataflow
- Assembly
- Dataflow.Composable.dll
Guaranteed delivery of messages to NrOfSources sources. Queueing up messages in the sources until the smallest queue reached BoundedCapacity.
public sealed class GuaranteedBroadcastBlock<T> : AbstractEncapsulatedTargetBlock<T>, ITargetBlock<T>, IDataflowBlock
Type Parameters
T
- Inheritance
-
AbstractEncapsulatedDataflowBlockAbstractEncapsulatedTargetBlock<T>GuaranteedBroadcastBlock<T>
- Implements
-
ITargetBlock<T>
- Inherited Members
- Extension Methods
Constructors
GuaranteedBroadcastBlock(int, GuaranteedBroadcastBlockOptions, Action<int>?)
public GuaranteedBroadcastBlock(int nrOfSources, GuaranteedBroadcastBlockOptions options, Action<int>? onQueuesShrunk = null)
Parameters
nrOfSourcesintoptionsGuaranteedBroadcastBlockOptionsonQueuesShrunkAction<int>
Properties
Count
Size of the smallest/largest queue, depending on BoundedCapacityMode.
public int Count { get; }
Property Value
this[int]
public IReceivableSourceBlock<T> this[int index] { get; }
Parameters
indexint