Click or drag to resize
Akka.NETSourceOperationsMergeSortedTOut, TMat Method (SourceTOut, TMat, 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.42 (1.2.3.42)
Syntax
public static Source<TOut, TMat> MergeSorted<TOut, TMat>(
	this Source<TOut, TMat> flow,
	IGraph<SourceShape<TOut>, TMat> other,
	IComparer<TOut> comparer
)

Parameters

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

Type Parameters

TOut
TBD
TMat
TBD

Return Value

Type: SourceTOut, TMat
TBD

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SourceTOut, TMat. 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