Class Broadcast<T>
Fan-out the stream to several streams emitting each incoming upstream element to all downstream consumers. It will not shut down until the subscriptions for at least two downstream subscribers have been established.
Emits when all of the outputs stops backpressuring and there is an input element available
Backpressures when any of the outputs backpressureCompletes when upstream completes
Cancels when If eagerCancel is enabled: when any downstream cancels; otherwise: when all downstreams cancelImplements
IGraph<UniformFanOutShape<T, T>>
Inherited Members
Namespace: Akka.Streams.Dsl
Assembly: Akka.Streams.dll
Syntax
public sealed class Broadcast<T> : GraphStage<UniformFanOutShape<T, T>>, IGraphStageWithMaterializedValue<UniformFanOutShape<T, T>, NotUsed>, IGraph<UniformFanOutShape<T, T>, NotUsed>, IGraph<UniformFanOutShape<T, T>>
Type Parameters
Name | Description |
---|---|
T | TBD |
Constructors
| Edit this page View SourceBroadcast(int, bool)
Initializes a new instance of the Broadcast<T> class.
Declaration
public Broadcast(int outputPorts, bool eagerCancel = false)
Parameters
Type | Name | Description |
---|---|---|
int | outputPorts | TBD |
bool | eagerCancel | TBD |
Exceptions
Type | Condition |
---|---|
ArgumentException | This exception is thrown when the specified |
Fields
| Edit this page View SourceIn
TBD
Declaration
public readonly Inlet<T> In
Field Value
Type | Description |
---|---|
Inlet<T> |
Properties
| Edit this page View SourceInitialAttributes
TBD
Declaration
protected override Attributes InitialAttributes { get; }
Property Value
Type | Description |
---|---|
Attributes |
Overrides
| Edit this page View SourceShape
TBD
Declaration
public override UniformFanOutShape<T, T> Shape { get; }
Property Value
Type | Description |
---|---|
UniformFanOutShape<T, T> |
Overrides
Methods
| Edit this page View SourceCreateLogic(Attributes)
TBD
Declaration
protected override GraphStageLogic CreateLogic(Attributes inheritedAttributes)
Parameters
Type | Name | Description |
---|---|---|
Attributes | inheritedAttributes | TBD |
Returns
Type | Description |
---|---|
GraphStageLogic | TBD |
Overrides
| Edit this page View SourceOut(int)
TBD
Declaration
public Outlet<T> Out(int id)
Parameters
Type | Name | Description |
---|---|---|
int | id | TBD |
Returns
Type | Description |
---|---|
Outlet<T> | TBD |
ToString()
TBD
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | TBD |