Package akka.stream.scaladsl
Class ZipN<A>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<UniformFanInShape<A,O>>
-
- akka.stream.scaladsl.ZipWithN<A,scala.collection.immutable.Seq<A>>
-
- akka.stream.scaladsl.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
ZipNhas aninput ports and oneoutport'''Emits when''' all of the inputs has an element available
'''Backpressures when''' downstream backpressures
'''Completes when''' any upstream completes
'''Cancels when''' downstream cancels
-
-
Constructor Summary
Constructors Constructor Description ZipN(int n)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <A> ZipN<A>apply(int n)AttributesinitialAttributes()java.lang.StringtoString()-
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, traversalBuilder, withAttributes
-
-
-
-
Method Detail
-
apply
public static <A> ZipN<A> apply(int n)
-
initialAttributes
public Attributes initialAttributes()
- Overrides:
initialAttributesin classZipWithN<A,scala.collection.immutable.Seq<A>>
-
-