Class ZipN<A>

All Implemented Interfaces:
Graph<UniformFanInShape<A,scala.collection.immutable.Seq<A>>,NotUsed>

public final class ZipN<A> extends ZipWithN<A,scala.collection.immutable.Seq<A>>
Combine the elements of multiple streams into a stream of sequences.

A ZipN 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 Details

    • ZipN

      public ZipN(int n)
  • Method Details

    • apply

      public static <A> ZipN<A> apply(int n)
      Create a new ZipN.
    • initialAttributes

      public Attributes initialAttributes()
      Overrides:
      initialAttributes in class ZipWithN<A,scala.collection.immutable.Seq<A>>
    • toString

      public String toString()
      Overrides:
      toString in class ZipWithN<A,scala.collection.immutable.Seq<A>>