Class NonoProcessor

    • Method Detail

      • create

        public static NonoProcessor create()
        Creates a NonoProcessor instance ready to receive events and Subscribers.
        Returns:
        the new NonoProcessor instance
      • subscribeActual

        protected void subscribeActual​(Subscriber<? super Void> s)
        Description copied from class: Nono
        Implement this method to signal the terminal events to the given subscriber.
        Specified by:
        subscribeActual in class Nono
        Parameters:
        s - the downstream subscriber, not null
      • hasSubscribers

        public boolean hasSubscribers()
        Returns true if this NonoProcessor currently has Subscribers.
        Returns:
        true if there are subscribers
      • hasComplete

        public boolean hasComplete()
        Returns true if this NonoProcessor has completed normally.
        Returns:
        true if completed normally
      • hasThrowable

        public boolean hasThrowable()
        Returns true if this NonoProcessor has terminated with an error.
        Returns:
        true if terminated with an error
        See Also:
        getThrowable()
      • getThrowable

        public Throwable getThrowable()
        Returns the error that terminated this NonoProcessor if hasThrowable() returns true.
        Returns:
        the error Throwable that terminated this NonoProcessor