| SubFlowOperationsMergeMaterializedTOut1, TOut2, TMat, TMat2, TMat3, TClosed 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, TClosed(SubFlowTOut1, TMat, TClosed, 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 SubFlow<TOut2, TMat3, TClosed> MergeMaterialized<TOut1, TOut2, TMat, TMat2, TMat3, TClosed>(
this SubFlow<TOut1, TMat, TClosed> flow,
IGraph<SourceShape<TOut2>, TMat2> that,
Func<TMat, TMat2, TMat3> combine
)
where TOut1 : TOut2
[<ExtensionAttribute>]
static member MergeMaterialized :
flow : SubFlow<'TOut1, 'TMat, 'TClosed> *
that : IGraph<SourceShape<'TOut2>, 'TMat2> *
combine : Func<'TMat, 'TMat2, 'TMat3> -> SubFlow<'TOut2, 'TMat3, 'TClosed> when 'TOut1 : 'TOut2
Parameters
- flow
- Type: Akka.Streams.DslSubFlowTOut1, TMat, TClosed
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
- TClosed
- TBD
Return Value
Type:
SubFlowTOut2,
TMat3,
TClosedTBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SubFlowTOut1,
TMat,
TClosed. 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