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