Interface TerminalStageFactory<T extends org.eclipse.microprofile.reactive.streams.operators.spi.Stage>
- All Known Implementing Classes:
CancelStageFactory,CollectStageFactory,FindFirstStageFactory,SubscriberStageFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface TerminalStageFactory<T extends org.eclipse.microprofile.reactive.streams.operators.spi.Stage>
Factory to create
TerminalStage instances.- Author:
- Clement Escoffier
-
Method Summary
-
Method Details
-
create
Creates the instance.- 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
-