Click or drag to resize
Akka.NETSubFlowOperationsMergeSortedTOut, TMat, TClosed Method (SubFlowTOut, TMat, TClosed, IGraphSourceShapeTOut, TMat, IComparerTOut)
Merge the given SourceTOut, TMat to this IFlowTOut, TMat, taking elements as they arrive from input streams, picking always the smallest of the available elements(waiting for one element from each side to be available). This means that possible contiguity of the input streams is not exploited to avoid waiting for elements, this merge will block when one of the inputs does not have more elements(and does not complete).

Emits when one of the inputs has an element available

Backpressures when downstream backpressures

Completes when all upstreams complete

Cancels when downstream cancels

Namespace:  Akka.Streams.Dsl
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public static SubFlow<TOut, TMat, TClosed> MergeSorted<TOut, TMat, TClosed>(
	this SubFlow<TOut, TMat, TClosed> flow,
	IGraph<SourceShape<TOut>, TMat> other,
	IComparer<TOut> comparer
)

Parameters

flow
Type: Akka.Streams.DslSubFlowTOut, TMat, TClosed
TBD
other
Type: Akka.StreamsIGraphSourceShapeTOut, TMat
TBD
comparer
Type: System.Collections.GenericIComparerTOut
TBD

Type Parameters

TOut
TBD
TMat
TBD
TClosed
TBD

Return Value

Type: SubFlowTOut, TMat, TClosed
TBD

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SubFlowTOut, TMat, TClosed. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also