Package io.reactivex.rxjava4.subscribers
package io.reactivex.rxjava4.subscribers
Default wrappers and implementations for
-based consumer classes and interfaces,
including disposable (
invalid reference
Subscriber
DisposableSubscriber) and resource-tracking
(ResourceSubscriber)
variants and the TestSubscriber that allows unit testing
Flowable-based flows.-
ClassesClassDescriptionAbstract base implementation of awith support for requesting via
invalid reference
SubscriberDefaultSubscriber.request(long), cancelling via viaDefaultSubscriber.cancel()(both synchronously) and callsDefaultSubscriber.onStart()when the subscription happens.An abstract Subscriber that allows asynchronous, external cancellation by implementingDisposable.An abstract Subscriber that allows asynchronous cancellation of its subscription and associated resources.Wraps anotherFlow.Subscriberand ensures allonXXXmethods conform the protocol (except the requirement for serialized access).Serializes access to theFlow.Subscriber.onNext(Object),Flow.Subscriber.onError(Throwable)andFlow.Subscriber.onComplete()methods of anotherFlow.Subscriber.AFlow.Subscriberimplementation that records events and allows making assertions about them.