Click or drag to resize
Akka.NETFlowOperations.MergeMany<TIn, TOut1, TOut2, TMat> Method
Transform each input element into a Source< TOut, TMat> of output elements that is then flattened into the output stream by merging, where at most breadth substreams are being consumed at any given time.

Emits when a currently consumed substream has an element available

Backpressures when downstream backpressures

Completes when upstream completes and all consumed substreams 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 Flow<TIn, TOut2, TMat> MergeMany<TIn, TOut1, TOut2, TMat>(
	this Flow<TIn, TOut1, TMat> flow,
	int breadth,
	Func<TOut1, IGraph<SourceShape<TOut2>, TMat>> flatten
)

Parameters

flow
Type: Akka.Streams.Dsl.Flow<TIn, TOut1, TMat>
TBD
breadth
Type: System.Int32
TBD
flatten
Type: System.Func<TOut1, IGraph<SourceShape<TOut2>, TMat>>
TBD

Type Parameters

TIn
TBD
TOut1
TBD
TOut2
TBD
TMat
TBD

Return Value

Type: Flow<TIn, TOut2, TMat>
TBD

Usage Note

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