Click or drag to resize
Akka.NETFlowOperationsMergeSortedTIn, TOut, TMat Method (FlowTIn, TOut, TMat, IGraphSourceShapeTOut, TMat, FuncTOut, TOut, Int32)
Merge the given SourceTOut, TMat to this FlowTIn, TOut, 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 Flow<TIn, TOut, TMat> MergeSorted<TIn, TOut, TMat>(
	this Flow<TIn, TOut, TMat> flow,
	IGraph<SourceShape<TOut>, TMat> other,
	Func<TOut, TOut, int> orderFunc
)

Parameters

flow
Type: Akka.Streams.DslFlowTIn, TOut, TMat
TBD
other
Type: Akka.StreamsIGraphSourceShapeTOut, TMat
TBD
orderFunc
Type: SystemFuncTOut, TOut, Int32
TBD

Type Parameters

TIn
TBD
TOut
TBD
TMat
TBD

Return Value

Type: FlowTIn, TOut, TMat
TBD

Usage Note

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