| FlowOperationsMergeMaterializedTIn, TOut1, TOut2, TMat, TMat2, TMat3 Method |
Merge the given
SourceTOut, TMat to this
FlowTIn, TOut, TMat, taking elements as they arrive from input streams,
picking randomly when several elements ready.
@see
MergeTIn, TOut1, TOut2, TMat(FlowTIn, TOut1, 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.129 (1.2.3.129)
Syntax public static Flow<TIn, TOut2, TMat3> MergeMaterialized<TIn, TOut1, TOut2, TMat, TMat2, TMat3>(
this Flow<TIn, TOut1, TMat> flow,
IGraph<SourceShape<TOut2>, TMat2> that,
Func<TMat, TMat2, TMat3> combine
)
where TOut1 : TOut2
[<ExtensionAttribute>]
static member MergeMaterialized :
flow : Flow<'TIn, 'TOut1, 'TMat> *
that : IGraph<SourceShape<'TOut2>, 'TMat2> *
combine : Func<'TMat, 'TMat2, 'TMat3> -> Flow<'TIn, 'TOut2, 'TMat3> when 'TOut1 : 'TOut2
Parameters
- flow
- Type: Akka.Streams.DslFlowTIn, TOut1, TMat
TBD - that
- Type: Akka.StreamsIGraphSourceShapeTOut2, TMat2
TBD - combine
- Type: SystemFuncTMat, TMat2, TMat3
TBD
Type Parameters
- TIn
- TBD
- TOut1
- TBD
- TOut2
- TBD
- TMat
- TBD
- TMat2
- TBD
- TMat3
- TBD
Return Value
Type:
FlowTIn,
TOut2,
TMat3TBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
FlowTIn,
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