Package org.apache.pekko.stream.javadsl
Class Concat
java.lang.Object
org.apache.pekko.stream.javadsl.Concat
Takes two streams and outputs an output stream formed from the two input streams
by consuming one stream first emitting all of its elements, then consuming the
second stream emitting all of its elements.
'''Emits when''' the current stream has an element available; if the current input completes, it tries the next one
'''Backpressures when''' downstream backpressures
'''Completes when''' all upstreams complete
'''Cancels when''' downstream cancels
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Graph<UniformFanInShape<T,
T>, NotUsed> create()
Create a new anonymousConcat
operator with the specified input types.static <T> Graph<UniformFanInShape<T,
T>, NotUsed> create
(int inputCount) Create a new anonymousConcat
operator with the specified input types.static <T> Graph<UniformFanInShape<T,
T>, NotUsed> create
(int inputCount, boolean detachedInputs) Create a new anonymousConcat
operator with the specified input types.static <T> Graph<UniformFanInShape<T,
T>, NotUsed> Create a new anonymousConcat
operator with the specified input types.
-
Constructor Details
-
Concat
public Concat()
-
-
Method Details
-
create
Create a new anonymousConcat
operator with the specified input types. -
create
Create a new anonymousConcat
operator with the specified input types. -
create
public static <T> Graph<UniformFanInShape<T,T>, createNotUsed> (int inputCount, boolean detachedInputs) Create a new anonymousConcat
operator with the specified input types. -
create
Create a new anonymousConcat
operator with the specified input types.
-