Interface RxSubjectAdapter<T>

All Known Implementing Classes:
CompletableSubjectAdapter, MaybeSubjectAdapter, PublishProcessorAdapter, PublishSubjectAdapter, SingleSubjectAdapter

public interface RxSubjectAdapter<T>
A generalization of the interfaces of a Subscriber, a Observer, a SingleObserver, a MaybeObserver and a CompletableObserver without the respective onSubscribe methods.

This allows us to use the same tools to test all of them.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
    onNext(T next)
     
  • Method Details

    • onNext

      void onNext(T next)
    • onComplete

      void onComplete()
    • onError

      void onError(Throwable error)