Interface CompletableObserver

    • Method Detail

      • onSubscribe

        void onSubscribe​(@NonNull
                         @NonNull Disposable d)
        Called once by the Completable to set a Disposable on this instance which then can be used to cancel the subscription at any time.
        Parameters:
        d - the Disposable instance to call dispose on for cancellation, not null
      • onComplete

        void onComplete()
        Called once the deferred computation completes normally.
      • onError

        void onError​(@NonNull
                     @NonNull java.lang.Throwable e)
        Called once if the deferred computation 'throws' an exception.
        Parameters:
        e - the exception, not null.