Class SequentialSubscriber<T>

  • Type Parameters:
    T - Type of data requested
    All Implemented Interfaces:
    org.reactivestreams.Subscriber<T>

    public class SequentialSubscriber<T>
    extends Object
    implements org.reactivestreams.Subscriber<T>
    A simple implementation of Subscriber that requests data one at a time.
    • Method Detail

      • onSubscribe

        public void onSubscribe​(org.reactivestreams.Subscription subscription)
        Specified by:
        onSubscribe in interface org.reactivestreams.Subscriber<T>
      • onNext

        public void onNext​(T t)
        Specified by:
        onNext in interface org.reactivestreams.Subscriber<T>
      • onError

        public void onError​(Throwable t)
        Specified by:
        onError in interface org.reactivestreams.Subscriber<T>
      • onComplete

        public void onComplete()
        Specified by:
        onComplete in interface org.reactivestreams.Subscriber<T>