Class FluxToMonoFunction<I,O>
- java.lang.Object
-
- org.springframework.cloud.function.core.WrappedFunction<I,O,reactor.core.publisher.Flux<I>,reactor.core.publisher.Mono<O>,Function<reactor.core.publisher.Flux<I>,reactor.core.publisher.Mono<O>>>
-
- org.springframework.cloud.function.core.FluxToMonoFunction<I,O>
-
- Type Parameters:
I- type ofFluxinput of the target functionO- type ofMonooutput of the target function
- All Implemented Interfaces:
Function<reactor.core.publisher.Flux<I>,reactor.core.publisher.Mono<O>>,FluxWrapper<Function<reactor.core.publisher.Flux<I>,reactor.core.publisher.Mono<O>>>
@Deprecated public class FluxToMonoFunction<I,O> extends WrappedFunction<I,O,reactor.core.publisher.Flux<I>,reactor.core.publisher.Mono<O>,Function<reactor.core.publisher.Flux<I>,reactor.core.publisher.Mono<O>>>
Deprecated.since 3.1 no longer used by the frameworkWrapper to mark functionFunction<Flux<?>, Mono<?>>. While it may look similar toFluxedConsumerthe fundamental difference is that this class represents a function that returnsMonoof type<O>, whileFluxedConsumeris a consumer that has been decorated asFunction<Flux<?>, Mono<Void>>.- Since:
- 2.0
- Author:
- Oleg Zhurakousky
-
-
Constructor Summary
Constructors Constructor Description FluxToMonoFunction(Function<reactor.core.publisher.Flux<I>,reactor.core.publisher.Mono<O>> target)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description reactor.core.publisher.Mono<O>apply(reactor.core.publisher.Flux<I> input)Deprecated.-
Methods inherited from class org.springframework.cloud.function.core.WrappedFunction
getTarget
-
-