public class PublishersKt
@NotNull
public static <T> io.reactivex.Maybe<T> maybe(@NotNull
org.reactivestreams.Publisher<T> $this$maybe)
Provides a Maybe from this Publisher.
@NotNull
public static <T> io.reactivex.Single<T> single(@NotNull
org.reactivestreams.Publisher<T> $this$single)
Provides a SingleResult from this Publisher.
@NotNull
public static io.reactivex.Completable completable(@NotNull
org.reactivestreams.Publisher<?> $this$completable)
Provides a Completable from this Publisher.
public static void blockingAwait(@NotNull
org.reactivestreams.Publisher<?> $this$blockingAwait)
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> $this$blockingGet)
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> $this$toObservable)
Provides an Observable from a Publisher.