Interface ISubjectAsync<T>
- Namespace
- ReactiveUI.Extensions.Async.Subjects
- Assembly
- ReactiveUI.Extensions.dll
Represents an asynchronous subject that allows observers to receive values, errors, or completion notifications asynchronously.
public interface ISubjectAsync<T> : IObserverAsync<T>, IAsyncDisposable, IObservableAsync<T>
Type Parameters
TThe type of the values observed and published by the subject.
- Inherited Members
- Extension Methods
Remarks
An asynchronous subject enables push-based notification of values, errors, or completion events to multiple observers. Observers can subscribe to the subject's values stream and receive notifications as they are published. This interface is typically used in scenarios where asynchronous event propagation and coordination are required, such as reactive programming or event-driven architectures.
Properties
Values
Gets an observable sequence that asynchronously provides the current values of the collection.
IObservableAsync<T> Values { get; }
Property Value
Remarks
The returned sequence emits updates whenever the underlying collection changes. Subscribers receive notifications asynchronously as values are added, removed, or updated.