Disposable-based resource management
(Disposable container types) and utility classes to construct
Disposables from callbacks and other types.See: Description
| Interface | Description |
|---|---|
| Disposable |
Represents a disposable resource.
|
| DisposableContainer |
Common interface to add and remove disposables from a container.
|
| Class | Description |
|---|---|
| CompositeDisposable |
A disposable container that can hold onto multiple other
Disposables and
offers O(1) time complexity for CompositeDisposable.add(Disposable), CompositeDisposable.remove(Disposable) and CompositeDisposable.delete(Disposable)
operations. |
| SerialDisposable |
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.
|
Disposable-based resource management
(Disposable container types) and utility classes to construct
Disposables from callbacks and other types.