Package rx.observers
Default wrappers and implementations for the base reactive consumer classes and interfaces;
utility classes for creating them from callbacks.
-
Class Summary Class Description AsyncCompletableSubscriber An abstract base class for CompletableSubscriber implementations that want to expose an unsubscription capability.AsyncCompletableSubscriber.Unsubscribed Observers Helper methods and utilities for creating and working withObserverobjects.SafeCompletableSubscriber Wraps another CompletableSubscriber and handles exceptions thrown from onError and onCompleted.SafeSubscriber<T> SafeSubscriberis a wrapper aroundSubscriberthat ensures that theSubscribercomplies with the Observable contract.SerializedObserver<T> Enforces single-threaded, serialized, ordered execution ofSerializedObserver.onNext(T),SerializedObserver.onCompleted(), andSerializedObserver.onError(java.lang.Throwable).SerializedObserver.FastList SerializedSubscriber<T> Enforces single-threaded, serialized, ordered execution ofSerializedSubscriber.onNext(T),SerializedSubscriber.onCompleted(), andSerializedSubscriber.onError(java.lang.Throwable).Subscribers Helper methods and utilities for creating and working withSubscriberobjects.TestObserver<T> Deprecated. use theTestSubscriberinsteand.TestSubscriber<T> ATestSubscriberis a variety ofSubscriberthat you can use for unit testing, to perform assertions, inspect received events, or wrap a mockedSubscriber.