Class FromPublisherStageFactory
java.lang.Object
io.smallrye.mutiny.streams.stages.FromPublisherStageFactory
- All Implemented Interfaces:
PublisherStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.PublisherStage>
public class FromPublisherStageFactory
extends Object
implements PublisherStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.PublisherStage>
Implementation of the
Stage.PublisherStage stage.- Author:
- Clement Escoffier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<O> PublisherStage<O> create(Engine engine, org.eclipse.microprofile.reactive.streams.operators.spi.Stage.PublisherStage stage) Creates the instance.
-
Constructor Details
-
FromPublisherStageFactory
public FromPublisherStageFactory()
-
-
Method Details
-
create
public <O> PublisherStage<O> create(Engine engine, org.eclipse.microprofile.reactive.streams.operators.spi.Stage.PublisherStage stage) Description copied from interface:PublisherStageFactoryCreates the instance.- Specified by:
createin interfacePublisherStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.PublisherStage>- Type Parameters:
O- output data- Parameters:
engine- the reactive enginestage- the stage- Returns:
- the created processing stage, should never be
null
-