SignalAsync class¶
Defined in
Namespace: ReactiveUI.Primitives.Async
Assembly: ReactiveUI.Primitives.Async.Core.dll
Full name: ReactiveUI.Primitives.Async.SignalAsync
Modifiers: public static
Summary¶
Provides factory methods for creating and composing asynchronous observable sequences.
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 SignalAsync class contains static methods for working with asynchronous observables, enabling resource management and composition patterns similar to those found in reactive programming. All members are thread-safe and intended for use in asynchronous and reactive scenarios.
Methods¶
| Name | Summary |
|---|---|
| static Blend | Merges the supplied sources. |
| static Chain | Concatenates the supplied sources. |
| static Create | Creates a new asynchronous observable sequence using the specified subscription function. |
| static CreateAsBackgroundJob | Creates a new observable sequence that runs the specified asynchronous job as a background task. |
| static Defer | Creates a new observable sequence for each subscription by invoking the specified asynchronous factory function. |
| static None | Creates an observable sequence that completes immediately without emitting any items. |
| static Empty | Creates an observable sequence that completes immediately without emitting any items. |
| static FromAsync | Creates an asynchronous observable sequence that emits a single value produced by the specified factory function. |
| static FromEnumerable | Creates a source from an enumerable sequence. |
| static FromAsyncEnumerable | Creates a source from an async enumerable sequence. |
| static Interval | Creates an asynchronous observable sequence that emits a long integer value at each specified time interval. |
| static Never | Creates an observable sequence that never produces any values and never completes. |
| static Sequence | Creates an observable sequence that emits a range of consecutive integer values, starting from the specified value. |
| static Range | Creates an observable sequence that emits a range of consecutive integer values, starting from the specified value. |
| static Emit | Creates an observable sequence that emits a single value and then completes. |
| static Return | Creates an observable sequence that emits a single value and then completes. |
| static Fail | Creates an observable sequence that terminates immediately with the specified exception. |
| static Throw | Creates an observable sequence that terminates immediately with the specified exception. |
| static After | Creates an observable sequence that produces a single value (0) after the specified delay, then completes. |
| static Every | Emits monotonically increasing ticks at the specified period. |
| static Pulse | Alias for [Every](# |
| static Timer | Creates an observable sequence that produces a single value (0) after the specified delay, then completes. |
| static Start | Creates an observable sequence that executes the supplied function and emits its result. |
| static Use | Creates an observable sequence that manages the lifetime of an asynchronous resource, ensuring the resource is disposed when the sequence terminates. |
| static Using | Creates an observable sequence that manages the lifetime of an asynchronous resource, ensuring the resource is disposed when the sequence terminates. |