Class ReactiveUtils

java.lang.Object
org.forgerock.openig.reactive.ReactiveUtils

public final class ReactiveUtils extends Object
Utility class for ReactiveX operations.
  • Method Details

    • toPromise

      public static <T> io.reactivex.rxjava3.core.SingleConverter<T,Promise<T,NeverThrowsException>> toPromise()
      Converts a Single to a promise.
      Type Parameters:
      T - the Type of the returned promise
      Returns:
      a promise of the Single element.