Package akka.stream.javadsl
Class ZipLatest
- java.lang.Object
-
- akka.stream.javadsl.ZipLatest
-
public class ZipLatest extends java.lang.ObjectCombine the elements of 2 streams into a stream of tuples, picking always the latest element of each.A
Ziphas aleftand arightinput port and oneoutport'''Emits when''' all of the inputs have at least an element available, and then each time an element becomes available on either of the inputs
'''Backpressures when''' downstream backpressures
'''Completes when''' any upstream completes
'''Cancels when''' downstream cancels
-
-
Constructor Summary
Constructors Constructor Description ZipLatest()
-
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 newZipLatestoperator with the specified input types and zipping-function which createsakka.japi.Pairs.
-
-
-
Method Detail
-
create
public static <A,B> Graph<FanInShape2<A,B,Pair<A,B>>,NotUsed> create()
Create a newZipLatestoperator with the specified input types and zipping-function which createsakka.japi.Pairs.
-
-