Package org.apache.pekko.stream.scaladsl
Class ZipWithN<A,O> 
java.lang.Object
org.apache.pekko.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
 
org.apache.pekko.stream.stage.GraphStage<UniformFanInShape<A,O>>
 
org.apache.pekko.stream.scaladsl.ZipWithN<A,O> 
- All Implemented Interfaces:
- Graph<UniformFanInShape<A,- O>, - NotUsed> 
- Direct Known Subclasses:
- ZipN
Combine the elements of multiple streams into a stream of sequences using a combiner function.
 
 A ZipWithN 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
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.pekko.stream.GraphGraph.GraphMapMatVal<S extends Shape,M> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <A,O> ZipWithN<A, O> apply(scala.Function1<scala.collection.immutable.Seq<A>, O> zipper, int n) Create a newZipWithN.createLogic(Attributes inheritedAttributes) out()shape()The shape of a graph is all that is externally visible: its inlets and outlets.toString()Methods inherited from class org.apache.pekko.stream.stage.GraphStagecreateLogicAndMaterializedValueMethods inherited from class org.apache.pekko.stream.stage.GraphStageWithMaterializedValuewithAttributesMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.pekko.stream.GraphaddAttributes, async, async, async, getAttributes, named
- 
Constructor Details- 
ZipWithN
 
- 
- 
Method Details- 
applypublic static <A,O> ZipWithN<A,O> apply(scala.Function1<scala.collection.immutable.Seq<A>, O> zipper, int n) Create a newZipWithN.
- 
initialAttributes- Overrides:
- initialAttributesin class- GraphStageWithMaterializedValue<UniformFanInShape<A,- O>, - NotUsed> 
 
- 
shapeDescription copied from interface:GraphThe shape of a graph is all that is externally visible: its inlets and outlets.
- 
out
- 
createLogic- Specified by:
- createLogicin class- GraphStage<UniformFanInShape<A,- O>> 
 
- 
toString
 
-