Package io.reactivex.rxjava4.disposables
package io.reactivex.rxjava4.disposables
Default implementations for
Disposable-based resource management
(Disposable container types) and utility classes to construct
Disposables from callbacks and other types.-
ClassDescriptionA disposable container that can hold onto multiple other
Disposables and offers O(1) time complexity forCompositeDisposable.add(Disposable),CompositeDisposable.remove(Disposable)andCompositeDisposable.delete(Disposable)operations.Represents a disposable resource.Common interface to add and remove disposables from a container.A Disposable container that allows atomically updating/replacing the contained Disposable with another Disposable, disposing the old one when updating plus handling the disposition when the container itself is disposed.