Skip to content

SerialSubjectAsync class

Defined in

Namespace: ReactiveUI.Extensions.Async.Subjects Assembly: ReactiveUI.Extensions.dll Full name: ReactiveUI.Extensions.Async.Subjects.SerialSubjectAsync<T> Modifiers: public sealed

Summary

View source

        Represents an asynchronous subject that notifies observers in a serial manner, ensuring each observer is notified
        one at a time.
        

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 SerialSubjectAsync~T~
class BaseSubjectAsync~T~
BaseSubjectAsync~T~ <|-- SerialSubjectAsync~T~

Inherits from: BaseSubjectAsync

Remarks

SerialSubjectAsync is designed for scenarios where observers must be notified sequentially rather than concurrently. This can be useful when observer operations are not thread-safe or when order of notification is important. Notifications to observers are performed asynchronously and in sequence.

Constructors

NameSummary
.ctor

Methods

NameSummary
OnNextAsyncCoreAsynchronously notifies the specified observers with the provided value.
OnErrorResumeAsyncCoreHandles error recovery for the specified observers by resuming asynchronous processing after an error occurs.
OnCompletedAsyncCoreInvoked to asynchronously notify all observers of the completion event with the specified result.
Inherited members