Class FindFirstStageFactory
java.lang.Object
io.smallrye.mutiny.streams.stages.FindFirstStageFactory
- All Implemented Interfaces:
TerminalStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.FindFirst>
public class FindFirstStageFactory
extends Object
implements TerminalStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.FindFirst>
Implementation of the
Stage.FindFirst 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.FindFirst stage) Creates the instance.
-
Constructor Details
-
FindFirstStageFactory
public FindFirstStageFactory()
-
-
Method Details
-
create
public <I,O> TerminalStage<I,O> create(Engine engine, org.eclipse.microprofile.reactive.streams.operators.spi.Stage.FindFirst stage) Description copied from interface:TerminalStageFactoryCreates the instance.- Specified by:
createin interfaceTerminalStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.FindFirst>- 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
-