ObservableAsync class¶
Defined in
Namespace: ReactiveUI.Extensions.Async
Assembly: ReactiveUI.Extensions.dll
Full name: ReactiveUI.Extensions.Async.ObservableAsync<T>
Modifiers: public abstract
Summary¶
Represents an asynchronous observable sequence that allows observers to subscribe and receive notifications
asynchronously.
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
Class hierarchy
classDiagram
class ObservableAsync~T~
class IObservableAsync~T~ {
<>
}
IObservableAsync~T~ <|.. ObservableAsync~T~
Implements: IObservableAsync
Remarks¶
Implementations of this class enable the observer pattern for asynchronous event streams, allowing observers to receive notifications as data becomes available. Observers should dispose the returned subscription to stop receiving notifications and release resources. This class is intended to be used as a base for custom asynchronous observable implementations.
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Methods¶
| Name | Summary |
|---|---|
| SubscribeAsync | Asynchronously subscribes the specified asynchronous observer to receive notifications from the observable sequence. |
| SubscribeAsyncCore | Subscribes the specified asynchronous observer to receive notifications from the observable sequence. |