| SourceOperationsMergeSortedTOut, TMat Method (SourceTOut, TMat, IGraphSourceShapeTOut, TMat) |
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 Source<TOut, TMat> MergeSorted<TOut, TMat>(
this Source<TOut, TMat> flow,
IGraph<SourceShape<TOut>, TMat> other
)
where TOut : Object, IComparable<TOut>
[<ExtensionAttribute>]
static member MergeSorted :
flow : Source<'TOut, 'TMat> *
other : IGraph<SourceShape<'TOut>, 'TMat> -> Source<'TOut, 'TMat> when 'TOut : Object and IComparable<'TOut>
Parameters
- flow
- Type: Akka.Streams.DslSourceTOut, TMat
TBD - other
- Type: Akka.StreamsIGraphSourceShapeTOut, TMat
TBD
Type Parameters
- TOut
- TBD
- TMat
- TBD
Return Value
Type:
SourceTOut,
TMatTBD
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