Class ReactiveUtils


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

      • 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.