Package rx

Interface Completable.CompletableSubscriber

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onCompleted()
      Called once the deferred computation completes normally.
      void onError​(java.lang.Throwable e)
      Called once if the deferred computation 'throws' an exception.
      void onSubscribe​(Subscription d)
      Called once by the Completable to set a Subscription on this instance which then can be used to cancel the subscription at any time.
    • Method Detail

      • onCompleted

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

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

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