Class SingleDoAfterSuccess.DoAfterObserver<T>

    • Method Detail

      • onSubscribe

        public void onSubscribe​(Disposable d)
        Description copied from interface: SingleObserver
        Provides the SingleObserver with the means of cancelling (disposing) the connection (channel) with the Single in both synchronous (from within onSubscribe(Disposable) itself) and asynchronous manner.
        Specified by:
        onSubscribe in interface SingleObserver<T>
        Parameters:
        d - the Disposable instance whose Disposable.dispose() can be called anytime to cancel the connection
      • dispose

        public void dispose()
        Description copied from interface: Disposable
        Dispose the resource, the operation should be idempotent.
        Specified by:
        dispose in interface Disposable
      • isDisposed

        public boolean isDisposed()
        Description copied from interface: Disposable
        Returns true if this resource has been disposed.
        Specified by:
        isDisposed in interface Disposable
        Returns:
        true if this resource has been disposed