| SourceOperationsMergeMaterializedTOut1, TOut2, TMat, TMat2, TMat3 Method |
Merge the given
SourceTOut, TMat to this
IFlowTOut, TMat, taking elements as they arrive from input streams,
picking randomly when several elements ready.
@see
MergeTOut1, TOut2, TMat(SourceTOut1, TMat, IGraphSourceShapeTOut2, TMat, Boolean)
It is recommended to use the internally optimized
LeftTLeft, TRight(TLeft, TRight) and
RightTLeft, TRight(TLeft, TRight) combiners
where appropriate instead of manually writing functions that pass through one of the values.
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public static Source<TOut2, TMat3> MergeMaterialized<TOut1, TOut2, TMat, TMat2, TMat3>(
this Source<TOut1, TMat> flow,
IGraph<SourceShape<TOut2>, TMat2> that,
Func<TMat, TMat2, TMat3> combine
)
where TOut1 : TOut2
[<ExtensionAttribute>]
static member MergeMaterialized :
flow : Source<'TOut1, 'TMat> *
that : IGraph<SourceShape<'TOut2>, 'TMat2> *
combine : Func<'TMat, 'TMat2, 'TMat3> -> Source<'TOut2, 'TMat3> when 'TOut1 : 'TOut2
Parameters
- flow
- Type: Akka.Streams.DslSourceTOut1, TMat
TBD - that
- Type: Akka.StreamsIGraphSourceShapeTOut2, TMat2
TBD - combine
- Type: SystemFuncTMat, TMat2, TMat3
TBD
Type Parameters
- TOut1
- TBD
- TOut2
- TBD
- TMat
- TBD
- TMat2
- TBD
- TMat3
- TBD
Return Value
Type:
SourceTOut2,
TMat3TBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SourceTOut1,
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