Package akka.stream.javadsl
Class Zip
- java.lang.Object
-
- akka.stream.javadsl.Zip
-
public class Zip extends java.lang.Object
Combine the elements of 2 streams into a stream of tuples.A
Zip
has aleft
and aright
input port and oneout
port'''Emits when''' all of the inputs has an element available
'''Backpressures when''' downstream backpressures
'''Completes when''' any upstream completes
'''Cancels when''' downstream cancels
-
-
Constructor Summary
Constructors Constructor Description Zip()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <A,B>
Graph<FanInShape2<A,B,Pair<A,B>>,NotUsed>create()
Create a newZip
operator with the specified input types and zipping-function which createsakka.japi.Pair
s.
-
-
-
Method Detail
-
create
public static <A,B> Graph<FanInShape2<A,B,Pair<A,B>>,NotUsed> create()
Create a newZip
operator with the specified input types and zipping-function which createsakka.japi.Pair
s.
-
-