Package org.apache.pekko.stream.javadsl
Class ZipWithN
java.lang.Object
org.apache.pekko.stream.javadsl.ZipWithN
Combine the elements of multiple streams into a stream of lists using a combiner function.
A ZipWithN has a n input ports 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
-
Constructor Details
-
ZipWithN
public ZipWithN()
-
-
Method Details
-
create
public static <A,O> Graph<UniformFanInShape<A,O>, createNotUsed> (Function<List<A>, O> zipper, int n)
-