Table of Contents

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
AbstractEncapsulatedDataflowBlock
AbstractEncapsulatedTargetBlock<T>
GuaranteedBroadcastBlock<T>
Implements
Inherited Members
Extension Methods

Constructors

GuaranteedBroadcastBlock(int, GuaranteedBroadcastBlockOptions, Action<int>?)

public GuaranteedBroadcastBlock(int nrOfSources, GuaranteedBroadcastBlockOptions options, Action<int>? onQueuesShrunk = null)

Parameters

nrOfSources int
options GuaranteedBroadcastBlockOptions
onQueuesShrunk Action<int>

Properties

Count

Size of the smallest/largest queue, depending on BoundedCapacityMode.

public int Count { get; }

Property Value

int

this[int]

public IReceivableSourceBlock<T> this[int index] { get; }

Parameters

index int

Property Value

IReceivableSourceBlock<T>