Minor refactoring in ContextFunctionRegistry

This commit is contained in:
Oleg Zhurakousky
2019-02-12 15:30:52 +01:00
parent b076f6349e
commit c797e4fed4
2 changed files with 17 additions and 34 deletions

View File

@@ -24,10 +24,10 @@ import reactor.core.publisher.Mono;
/**
* Wrapper to mark function {@code Function<Flux<?>, Mono<?>>}.
*
* While it may look similar to {@link FluxedConsumer}
* the fundamental difference is that this class represents a function that
* returns {@link Mono} of type {@code <O>}, while {@link FluxedConsumer} is
* a consumer that has been decorated as {@code Function<Flux<?>, Mono<Void>>}.
* While it may look similar to {@link FluxedConsumer} the fundamental difference is that
* this class represents a function that returns {@link Mono} of type {@code <O>}, while
* {@link FluxedConsumer} is a consumer that has been decorated as
* {@code Function<Flux<?>, Mono<Void>>}.
*
* @param <I> type of {@link Flux} input of the target function
* @param <O> type of {@link Mono} output of the target function