SerialStatelessReplayLastSubjectAsync(Optional) constructor¶
Defined in
Type: SerialStatelessReplayLastSubjectAsyncReactiveUI.Extensions.Async.Subjects
Assembly: ReactiveUI.Extensions.dll
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
public SerialStatelessReplayLastSubjectAsync(Optional<T> startValue)
Summary: Represents a serial, stateless asynchronous subject that replays only the last value to new observers and supports asynchronous notification delivery.
Parameters
| Name | Type | Description |
|---|---|---|
startValue | [Optional | An optional initial value to be replayed to new observers before any values are published. If not specified, no value is replayed until the first value is received. |
Remarks
This subject delivers notifications to observers one at a time in the order they are received. It does not maintain any state beyond the most recent value, and only the last value (if any) is replayed to new subscribers. All observer notifications are dispatched asynchronously and serially, ensuring that each observer receives notifications in the correct order.