Class CompletableTimeout.DisposeTask.DisposeObserver

    • Constructor Summary

      Constructors 
      Constructor Description
      DisposeObserver()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onComplete()
      Called once the deferred computation completes normally.
      void onError​(java.lang.Throwable e)
      Called once if the deferred computation 'throws' an exception.
      void onSubscribe​(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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DisposeObserver

        DisposeObserver()
    • Method Detail

      • onError

        public void onError​(java.lang.Throwable e)
        Description copied from interface: CompletableObserver
        Called once if the deferred computation 'throws' an exception.
        Specified by:
        onError in interface CompletableObserver
        Parameters:
        e - the exception, not null.