public class PublishersKt
@NotNull
public static <T> io.reactivex.Maybe<T> maybe(@NotNull
org.reactivestreams.Publisher<T> $receiver)
Provides a Maybe from this Publisher.
@NotNull
public static <T> io.reactivex.Single<T> single(@NotNull
org.reactivestreams.Publisher<T> $receiver)
Provides a SingleResult from this Publisher.
@NotNull
public static io.reactivex.Completable completable(@NotNull
org.reactivestreams.Publisher<?> $receiver)
Provides a Completable from this Publisher.
public static void blockingAwait(@NotNull
org.reactivestreams.Publisher<?> $receiver)
Subscribes to and awaits the termination of this Completable instance in a blocking manner and rethrows any exception emitted.
RuntimeException - wrapping an InterruptedException if the current thread is interruptedpublic static <T> T blockingGet(@NotNull
org.reactivestreams.Publisher<T> $receiver)
Waits in a blocking fashion until the current Single signals a success value (which is returned) or an exception (which is propagated).
@NotNull
public static <T> io.reactivex.Observable<T> toObservable(@NotNull
org.reactivestreams.Publisher<T> $receiver)
Provides an Observable from a Publisher.