Class FlatMapStageFactory
- java.lang.Object
-
- io.smallrye.mutiny.jakarta.streams.stages.FlatMapStageFactory
-
- All Implemented Interfaces:
ProcessingStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.FlatMap>
public class FlatMapStageFactory extends java.lang.Object implements ProcessingStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.FlatMap>
Implementation of theStage.FlatMapstage. Be aware it behaves as a RX `concatMap`.- Author:
- Clement Escoffier
-
-
Constructor Summary
Constructors Constructor Description FlatMapStageFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <I,O>
ProcessingStage<I,O>create(Engine engine, org.eclipse.microprofile.reactive.streams.operators.spi.Stage.FlatMap stage)Creates the instance.
-
-
-
Method Detail
-
create
public <I,O> ProcessingStage<I,O> create(Engine engine, org.eclipse.microprofile.reactive.streams.operators.spi.Stage.FlatMap stage)
Description copied from interface:ProcessingStageFactoryCreates the instance.- Specified by:
createin interfaceProcessingStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.FlatMap>- Type Parameters:
I- input dataO- output data- Parameters:
engine- the reactive enginestage- the stage- Returns:
- the created processing stage, should never be
null
-
-