Package org.apache.pekko.stream.javadsl
Class MergeLatest$
java.lang.Object
org.apache.pekko.stream.javadsl.MergeLatest$
MergeLatest joins elements from N input streams into stream of lists of size N.
 i-th element in list is the latest emitted element from i-th input stream.
 MergeLatest emits list for each element emitted from some input stream,
 but only after each stream emitted at least one element
 
'''Emits when''' element is available from some input and each input emits at least one element from stream start
'''Completes when''' all upstreams complete (eagerClose=false) or one upstream completes (eagerClose=true)
'''Cancels when''' downstream cancels
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final MergeLatest$Static reference to the singleton instance of this Scala object.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<T> GraphStage<UniformFanInShape<T,List<T>>> create(int inputPorts) Create a newMergeLatestwith the specified number of input ports.<T> GraphStage<UniformFanInShape<T,List<T>>> create(int inputPorts, boolean eagerComplete) Create a newMergeLatestwith the specified number of input ports.
- 
Field Details- 
MODULE$Static reference to the singleton instance of this Scala object.
 
- 
- 
Constructor Details- 
MergeLatest$public MergeLatest$()
 
- 
- 
Method Details- 
createCreate a newMergeLatestwith the specified number of input ports.- Parameters:
- inputPorts- number of input ports
- eagerComplete- if true, the merge latest will complete as soon as one of its inputs completes.
 
- 
createCreate a newMergeLatestwith the specified number of input ports.- Parameters:
- inputPorts- number of input ports
 
 
-