Package org.apache.pekko.stream.scaladsl
Class Concat$
java.lang.Object
org.apache.pekko.stream.scaladsl.Concat$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Graph<UniformFanInShape<T,T>, NotUsed> apply(int inputPorts) Create a newConcat.<T> Graph<UniformFanInShape<T,T>, NotUsed> apply(int inputPorts, boolean detachedInputs) Create a newConcatoperator that will concatenate two or more streams.<T> int
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Concat$
public Concat$()
-
-
Method Details
-
apply
Create a newConcat. Note that this for historical reasons creates a "detached" Concat which will eagerly pull each input on materialization and act as a one element buffer for each input. -
apply
Create a newConcatoperator that will concatenate two or more streams.- Parameters:
inputPorts- The number of fan-in input portsdetachedInputs- If the ports should be detached (eagerly pull both inputs) useful to avoid deadlocks in graphs with loops- Returns:
-
apply$default$1
public <T> int apply$default$1()
-