Package org.apache.pekko.stream.javadsl
Class Zip
java.lang.Object
org.apache.pekko.stream.javadsl.Zip
Combine the elements of 2 streams into a stream of tuples.
A Zip has a left and a right input port and one out 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 -
Method Summary
Modifier and TypeMethodDescriptionstatic <A,B> Graph<FanInShape2<A, B, Pair<A, B>>, NotUsed> create()Create a newZipoperator with the specified input types and zipping-function which createsorg.apache.pekko.japi.Pairs.
-
Constructor Details
-
Zip
public Zip()
-
-
Method Details
-
create
Create a newZipoperator with the specified input types and zipping-function which createsorg.apache.pekko.japi.Pairs.
-