object 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
- Source
- MergeLatest.scala
- Alphabetic
- By Inheritance
- MergeLatest
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- 
      
      
      
        
      
    
      
        
        def
      
      
        apply[T](inputPorts: Int, eagerComplete: Boolean = false): GraphStage[UniformFanInShape[T, List[T]]]
      
      
      Create a new MergeLatestwith the specified number of input ports.Create a new MergeLatestwith the specified number of input ports.- inputPorts
- number of input ports 
- eagerComplete
- if true, the merge latest will complete as soon as one of its inputs completes.