Class FluxConsumer<I>

java.lang.Object
org.springframework.cloud.function.core.WrappedFunction<I,Void,reactor.core.publisher.Flux<I>,reactor.core.publisher.Mono<Void>,Consumer<I>>
org.springframework.cloud.function.core.FluxConsumer<I>
Type Parameters:
I - input type of target consumer
All Implemented Interfaces:
Function<reactor.core.publisher.Flux<I>,reactor.core.publisher.Mono<Void>>, FluxWrapper<Consumer<I>>

@Deprecated public class FluxConsumer<I> extends WrappedFunction<I,Void,reactor.core.publisher.Flux<I>,reactor.core.publisher.Mono<Void>,Consumer<I>>
Deprecated.
since 3.1 no longer used by the framework
Wrapper for a Consumer implementation that converts a non-reactive consumer into a reactive function (Function<Flux<?>, Mono<?>>).
Author:
Dave Syer, Oleg Zhurakousky
See Also:
  • Constructor Details

    • FluxConsumer

      public FluxConsumer(Consumer<I> target)
      Deprecated.
  • Method Details

    • apply

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