SafeSubscriber is a wrapper around
Subscriber that ensures that the
Subscriber complies with the Rx contract.
SerializedObserver.onNext(T) ,
SerializedObserver.onCompleted() , and
SerializedObserver.onError(java.lang.Throwable) .
SerializedSubscriber.onNext(T) ,
SerializedSubscriber.onCompleted() , and
SerializedSubscriber.onError(java.lang.Throwable) .
Subscriber objects.
TestSubscriber is a variety of
Subscriber that you can use for unit testing, to perform assertions, inspect received events, or wrap a mocked
Subscriber.