Class SubscriberStageFactory
java.lang.Object
io.smallrye.mutiny.streams.stages.SubscriberStageFactory
- All Implemented Interfaces:
TerminalStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.SubscriberStage>
public class SubscriberStageFactory
extends Object
implements TerminalStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.SubscriberStage>
Implementation of the
Stage.SubscriberStage stage.- Author:
- Clement Escoffier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<I,O> TerminalStage <I, O> create(Engine engine, org.eclipse.microprofile.reactive.streams.operators.spi.Stage.SubscriberStage stage) Creates the instance.
-
Constructor Details
-
SubscriberStageFactory
public SubscriberStageFactory()
-
-
Method Details
-
create
public <I,O> TerminalStage<I,O> create(Engine engine, org.eclipse.microprofile.reactive.streams.operators.spi.Stage.SubscriberStage stage) Description copied from interface:TerminalStageFactoryCreates the instance.- Specified by:
createin interfaceTerminalStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.SubscriberStage>- Type Parameters:
I- incoming dataO- computed result- Parameters:
engine- the reactive engine, must not benullstage- the stage, must not benull- Returns:
- the terminal stage, must not be
null
-