Signal class¶
Defined in
Namespace: ReactiveUI.Primitives.Async.Signals
Assembly: ReactiveUI.Primitives.Async.Core.dll
Full name: ReactiveUI.Primitives.Async.Signals.Signal
Modifiers: public static
Summary¶
Provides factory methods for creating asynchronous Signal instances with configurable publishing and state
retention behaviors.
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, net471
Remarks¶
The Signal class offers a variety of static methods to create Signals that support different publishing strategies (such as serial or concurrent) and state management options (stateful or stateless). These Signals can be used to broadcast values to multiple observers in asynchronous scenarios. Use the provided creation options to customize the Signal's behavior according to your application's requirements.
Methods¶
| Name | Summary |
|---|---|
| static Create | Creates a new asynchronous Signal instance for the specified type. |
| static CreateBehavior | Creates a new asynchronous behavior Signal initialized with the specified starting value. |
| static CreateReplayLatest | Creates a new asynchronous Signal that replays only the most recent value to new subscribers. |