Interface TerminalStage<I,O>
-
- All Superinterfaces:
java.util.function.Function<Multi<I>,java.util.concurrent.CompletionStage<O>>
- 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 TerminalStage<I,O> extends java.util.function.Function<Multi<I>,java.util.concurrent.CompletionStage<O>>
Defines a terminal stage - so a stream subscription and observation.- Author:
- Clement Escoffier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletionStage<O>apply(Multi<I> multi)Creates theCompletionStagecalled when the embedded logic has completed or failed.
-