Skip to content

AsyncSignal class

Attributes: [DebuggerDisplay("{DebuggerDisplay,nq}")]

Defined in

Namespace: ReactiveUI.Primitives.Signals Assembly: ReactiveUI.Primitives.Core.dll Full name: ReactiveUI.Primitives.Signals.AsyncSignal<T> Modifiers: public sealed

Summary

View source

A signal that exposes its next value as an awaitable operation.

Applies to

net10.0, net10.0, net10.0-desktop1.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net10.0-browserwasm1.0, net9.0, net9.0, net9.0-desktop1.0, net9.0-desktop1.0, net9.0-browserwasm1.0, net9.0-browserwasm1.0, net8.0, net8.0, net8.0-ios17.5, net8.0-macos14.5, net8.0-macos14.5, net8.0-macos14.2, net8.0-macos14.2, net8.0-maccatalyst17.5, net8.0-maccatalyst17.5, net8.0-tvos17.2, net8.0-tvos17.2, net8.0-ios17.5, netstandard2.1, netstandard2.1, net481, net462, net462, net481

Class hierarchy
classDiagram
class AsyncSignal~T~
class IAwaitSignal~T~ {
    <>
}
IAwaitSignal~T~ <|.. AsyncSignal~T~
class ISignal~T~ {
    <>
}
ISignal~T~ <|.. AsyncSignal~T~
class ISignal~T, T~ {
    <>
}
ISignal~T, T~ <|.. AsyncSignal~T~
class IObserver~T~ {
    <>
}
IObserver~T~ <|.. AsyncSignal~T~
class IObservable~T~ {
    <>
}
IObservable~T~ <|.. AsyncSignal~T~
class IsDisposed {
    <>
}
IsDisposed <|.. AsyncSignal~T~
class IDisposable {
    <>
}
IDisposable <|.. AsyncSignal~T~
class INotifyCompletion {
    <>
}
INotifyCompletion <|.. AsyncSignal~T~

Implements: IAwaitSignal, ISignal, ISignal, IObserver, IObservable, IsDisposed, IDisposable, INotifyCompletion

Constructors

NameSummary
.ctor

Properties

NameSummary
IsDisposedGets a value indicating whether this instance is disposed.
ValueGets the value.
HasObserversGets a value indicating whether this instance has observers.
IsCompletedGets a value indicating whether this instance is completed.

Methods

NameSummary
OnCompletedCalled when [completed].
OnErrorCalled when [error].
OnNextCalled when [next].
SubscribeSubscribes the specified observer.
DisposeReleases unmanaged and - optionally - managed resources.
GetAwaiterGets an awaitable object for the current final signal.
GetResultGets the last element of the subject, potentially blocking until the subject completes successfully or exceptionally.
RemoveObserverRemoves an observer previously registered via [Subscribe](# Called by the observer's subscription handle when it is...
Inherited members

See also