Interface RxSubjectAdapter<T>
-
- All Known Implementing Classes:
CompletableSubjectAdapter,MaybeSubjectAdapter,PublishProcessorAdapter,PublishSubjectAdapter,SingleSubjectAdapter
public interface RxSubjectAdapter<T>A generalization of the interfaces of aSubscriber, aObserver, aSingleObserver, aMaybeObserverand aCompletableObserverwithout the respective onSubscribe methods.This allows us to use the same tools to test all of them.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonComplete()voidonError(java.lang.Throwable error)voidonNext(T next)
-
-
-
Method Detail
-
onNext
void onNext(T next)
-
onComplete
void onComplete()
-
onError
void onError(java.lang.Throwable error)
-
-