Interface Subscribable<T>

    • Method Detail

      • subscribe

        default void subscribe​(Consumer<? super T> consumer)
        Subscribe to this Single instance with the given delegate functions.
        Parameters:
        consumer - onNext delegate function
      • subscribe

        default void subscribe​(Consumer<? super T> consumer,
                               Consumer<? super Throwable> errorConsumer)
        Subscribe to this Single instance with the given delegate functions.
        Parameters:
        consumer - onNext delegate function
        errorConsumer - onError delegate function
      • subscribe

        default void subscribe​(Consumer<? super T> consumer,
                               Consumer<? super Throwable> errorConsumer,
                               Runnable completeConsumer)
        Subscribe to this Single instance with the given delegate functions.
        Parameters:
        consumer - onNext delegate function
        errorConsumer - onError delegate function
        completeConsumer - onComplete delegate function
      • subscribe

        default void subscribe​(Consumer<? super T> consumer,
                               Consumer<? super Throwable> errorConsumer,
                               Runnable completeConsumer,
                               Consumer<? super Flow.Subscription> subscriptionConsumer)
        Subscribe to this Single instance with the given delegate functions.
        Parameters:
        consumer - onNext delegate function
        errorConsumer - onError delegate function
        completeConsumer - onComplete delegate function
        subscriptionConsumer - onSusbcribe delegate function