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 of Flux input of the target function
O - type of Mono output 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 framework
Wrapper to mark function Function<Flux<?>, Mono<?>>. While it may look similar to FluxedConsumer the fundamental difference is that this class represents a function that returns Mono of type <O>, while FluxedConsumer is a consumer that has been decorated as Function<Flux<?>, Mono<Void>>.
Since:
2.0
Author:
Oleg Zhurakousky
  • Constructor Details

    • FluxToMonoFunction

      public FluxToMonoFunction(Function<reactor.core.publisher.Flux<I>,reactor.core.publisher.Mono<O>> target)
      Deprecated.
  • Method Details

    • apply

      public reactor.core.publisher.Mono<O> apply(reactor.core.publisher.Flux<I> input)
      Deprecated.