Skip to content

ReactiveUI.Extensions.Async.Disposables namespace

Part of the ReactiveUI.Extensions package.

TypeKindSummary
CompositeDisposableAsyncclassRepresents a thread-safe collection of asynchronous disposable objects that are disposed together as a group. Provides methods to add, remove, and asynchronously dispose contained resources as a single operation.
DisposableAsyncclassProvides factory methods for creating and working with implementations of IAsyncDisposable.
DisposableAsyncSlotclassZero-allocation static helpers that implement [SerialDisposableAsync](# swap and [SingleAssignmentDisposableAsync](# single-assignment semantics directly against a caller-owned IAsyncDisposable field. Use these when the wrapper-class allocation that the convenience types incur is on a hot path.
SerialDisposableAsyncclassProvides a thread-safe mechanism for managing a single asynchronously disposable resource that can be replaced or disposed of serially.
SingleAssignmentDisposableAsyncclassRepresents an asynchronously disposable resource that allows a single assignment of its underlying disposable. Once disposed, further assignments will dispose the assigned resource immediately.