Class ReactorAdapter

java.lang.Object
io.github.resilience4j.reactor.adapter.ReactorAdapter

public class ReactorAdapter
extends java.lang.Object
  • Method Summary

    Modifier and Type Method Description
    static <T> reactor.core.publisher.Flux<T> toFlux​(io.github.resilience4j.core.EventPublisher<T> eventPublisher)
    Converts the EventPublisher into a Flux.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • toFlux

      public static <T> reactor.core.publisher.Flux<T> toFlux​(io.github.resilience4j.core.EventPublisher<T> eventPublisher)
      Converts the EventPublisher into a Flux.
      Type Parameters:
      T - the type of the event
      Parameters:
      eventPublisher - the event publisher
      Returns:
      the Flux