Class Merge<TIn, TOut>
Merge several streams, taking elements as they arrive from input streams (picking randomly when several have elements ready).
Emits when one of the inputs has an element available
Backpressures when downstream backpressuresCompletes when all upstreams complete
Cancels when downstream cancelsImplements
IGraph<UniformFanInShape<TIn, TOut>>
Inherited Members
Namespace: Akka.Streams.Dsl
Assembly: Akka.Streams.dll
Syntax
public class Merge<TIn, TOut> : GraphStage<UniformFanInShape<TIn, TOut>>, IGraphStageWithMaterializedValue<UniformFanInShape<TIn, TOut>, NotUsed>, IGraph<UniformFanInShape<TIn, TOut>, NotUsed>, IGraph<UniformFanInShape<TIn, TOut>> where TIn : TOut
Type Parameters
Name | Description |
---|---|
TIn | TBD |
TOut | TBD |
Constructors
| Improve this Doc View SourceMerge(Int32, Boolean)
Initializes a new instance of the Merge<TIn, TOut> class.
Declaration
public Merge(int inputPorts, bool eagerComplete = false)
Parameters
Type | Name | Description |
---|---|---|
Int32 | inputPorts | TBD |
Boolean | eagerComplete | TBD |
Exceptions
Type | Condition |
---|---|
ArgumentException | This exception is thrown when the specified |
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.UniformFanInShape<TIn, TOut>, Akka.NotUsed>.InitialAttributes
|
Improve this Doc
View Source
Out
TBD
Declaration
public Outlet<TOut> Out { get; }
Property Value
Type | Description |
---|---|
Outlet<TOut> |
Shape
TBD
Declaration
public override UniformFanInShape<TIn, TOut> Shape { get; }
Property Value
Type | Description |
---|---|
UniformFanInShape<TIn, TOut> |
Overrides
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.UniformFanInShape<TIn, TOut>, 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.UniformFanInShape<TIn, TOut>>.CreateLogic(Akka.Streams.Attributes)
|
Improve this Doc
View Source
In(Int32)
TBD
Declaration
public Inlet<TIn> In(int id)
Parameters
Type | Name | Description |
---|---|---|
Int32 | id | TBD |
Returns
Type | Description |
---|---|
Inlet<TIn> | TBD |
ToString()
TBD
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | TBD |