Package io.reactivex.rxjava4.subscribers
package io.reactivex.rxjava4.subscribers
Default wrappers and implementations for
Subscriber-based consumer classes and interfaces,
including disposable (DisposableSubscriber) and resource-tracking
(ResourceSubscriber)
variants and the TestSubscriber that allows unit testing
Flowable-based flows.-
ClassesClassDescriptionAbstract base implementation of a
Subscriberwith support for requesting via#request(long), cancelling via via#cancel()(both synchronously) and calls#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.