Packages

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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MergeLatest
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply[T](inputPorts: Int, eagerComplete: Boolean = false): GraphStage[UniformFanInShape[T, List[T]]]

    Create a new MergeLatest with the specified number of input ports.

    Create a new MergeLatest with 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.