Skip to content

SignalAsync class

Defined in

Namespace: ReactiveUI.Primitives.Async Assembly: ReactiveUI.Primitives.Async.Core.dll Full name: ReactiveUI.Primitives.Async.SignalAsync Modifiers: public static

Summary

View source

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

NameSummary
static BlendMerges the supplied sources.
static ChainConcatenates the supplied sources.
static CreateCreates a new asynchronous observable sequence using the specified subscription function.
static CreateAsBackgroundJobCreates a new observable sequence that runs the specified asynchronous job as a background task.
static DeferCreates a new observable sequence for each subscription by invoking the specified asynchronous factory function.
static NoneCreates an observable sequence that completes immediately without emitting any items.
static EmptyCreates an observable sequence that completes immediately without emitting any items.
static FromAsyncCreates an asynchronous observable sequence that emits a single value produced by the specified factory function.
static FromEnumerableCreates a source from an enumerable sequence.
static FromAsyncEnumerableCreates a source from an async enumerable sequence.
static IntervalCreates an asynchronous observable sequence that emits a long integer value at each specified time interval.
static NeverCreates an observable sequence that never produces any values and never completes.
static SequenceCreates an observable sequence that emits a range of consecutive integer values, starting from the specified value.
static RangeCreates an observable sequence that emits a range of consecutive integer values, starting from the specified value.
static EmitCreates an observable sequence that emits a single value and then completes.
static ReturnCreates an observable sequence that emits a single value and then completes.
static FailCreates an observable sequence that terminates immediately with the specified exception.
static ThrowCreates an observable sequence that terminates immediately with the specified exception.
static AfterCreates an observable sequence that produces a single value (0) after the specified delay, then completes.
static EveryEmits monotonically increasing ticks at the specified period.
static PulseAlias for [Every](#
static TimerCreates an observable sequence that produces a single value (0) after the specified delay, then completes.
static StartCreates an observable sequence that executes the supplied function and emits its result.
static UseCreates an observable sequence that manages the lifetime of an asynchronous resource, ensuring the resource is disposed when the sequence terminates.
static UsingCreates an observable sequence that manages the lifetime of an asynchronous resource, ensuring the resource is disposed when the sequence terminates.
Inherited members