Skip to content

IObservableAsync interface

Defined in

Namespace: ReactiveUI.Extensions.Async Assembly: ReactiveUI.Extensions.dll Full name: ReactiveUI.Extensions.Async.IObservableAsync<T> Modifiers: public abstract

Summary

        Represents a provider for asynchronous push-based notifications that supports asynchronous subscription and
        disposal.
        

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

Remarks

Use this interface to implement observable sequences that allow observers to subscribe asynchronously and receive notifications in an asynchronous manner. This is useful for scenarios where subscription or unsubscription may involve asynchronous operations, such as network or I/O-bound tasks. Implementations should ensure that notifications are delivered according to the observer's contract and that resources are released when the subscription is disposed.

Methods

NameSummary
SubscribeAsyncSubscribes the specified asynchronous observer to receive notifications from the observable sequence.