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
| Improve this Doc View SourceBroadcast(Int32, Boolean)
Initializes a new instance of the Broadcast<T> class.
Declaration
public Broadcast(int outputPorts, bool eagerCancel = false)
Parameters
Type | Name | Description |
---|---|---|
Int32 | outputPorts | TBD |
Boolean | eagerCancel | TBD |
Exceptions
Type | Condition |
---|---|
ArgumentException | This exception is thrown when the specified |
Fields
| Improve this Doc View SourceIn
TBD
Declaration
public readonly Inlet<T> In
Field Value
Type | Description |
---|---|
Inlet<T> |
Properties
| Improve this Doc View SourceInitialAttributes
TBD
Declaration
protected override Attributes InitialAttributes { get; }
Property Value
Type | Description |
---|---|
Attributes |
Overrides
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.UniformFanOutShape<T, T>, Akka.NotUsed>.InitialAttributes
|
Improve this Doc
View Source
Shape
TBD
Declaration
public override UniformFanOutShape<T, T> Shape { get; }
Property Value
Type | Description |
---|---|
UniformFanOutShape<T, T> |
Overrides
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.UniformFanOutShape<T, T>, Akka.NotUsed>.Shape
Methods
| Improve this Doc View SourceCreateLogic(Attributes)
TBD
Declaration
protected override GraphStageLogic CreateLogic(Attributes inheritedAttributes)
Parameters
Type | Name | Description |
---|---|---|
Attributes | inheritedAttributes | TBD |
Returns
Type | Description |
---|---|
GraphStageLogic | TBD |
Overrides
Akka.Streams.Stage.GraphStage<Akka.Streams.UniformFanOutShape<T, T>>.CreateLogic(Akka.Streams.Attributes)
|
Improve this Doc
View Source
Out(Int32)
TBD
Declaration
public Outlet<T> Out(int id)
Parameters
Type | Name | Description |
---|---|---|
Int32 | id | TBD |
Returns
Type | Description |
---|---|
Outlet<T> | TBD |
ToString()
TBD
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | TBD |