| SubFlowOperationsMergeTOut1, TOut2, TMat, 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.
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.42 (1.2.3.42)
Syntax public static SubFlow<TOut2, TMat, TClosed> Merge<TOut1, TOut2, TMat, TClosed>(
this SubFlow<TOut1, TMat, TClosed> flow,
IGraph<SourceShape<TOut2>, TMat> other,
bool eagerComplete = false
)
where TOut1 : TOut2
[<ExtensionAttribute>]
static member Merge :
flow : SubFlow<'TOut1, 'TMat, 'TClosed> *
other : IGraph<SourceShape<'TOut2>, 'TMat> *
?eagerComplete : bool
(* Defaults:
let _eagerComplete = defaultArg eagerComplete false
*)
-> SubFlow<'TOut2, 'TMat, 'TClosed> when 'TOut1 : 'TOut2
Parameters
- flow
- Type: Akka.Streams.DslSubFlowTOut1, TMat, TClosed
TBD - other
- Type: Akka.StreamsIGraphSourceShapeTOut2, TMat
TBD - eagerComplete (Optional)
- Type: SystemBoolean
TBD
Type Parameters
- TOut1
- TBD
- TOut2
- TBD
- TMat
- TBD
- TClosed
- TBD
Return Value
Type:
SubFlowTOut2,
TMat,
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