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¶
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
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Properties¶
| Name | Summary |
|---|---|
| IsDisposed | Gets a value indicating whether this instance is disposed. |
| Value | Gets the value. |
| HasObservers | Gets a value indicating whether this instance has observers. |
| IsCompleted | Gets a value indicating whether this instance is completed. |
Methods¶
| Name | Summary |
|---|---|
| OnCompleted | Called when [completed]. |
| OnError | Called when [error]. |
| OnNext | Called when [next]. |
| Subscribe | Subscribes the specified observer. |
| Dispose | Releases unmanaged and - optionally - managed resources. |
| GetAwaiter | Gets an awaitable object for the current final signal. |
| GetResult | Gets the last element of the subject, potentially blocking until the subject completes successfully or exceptionally. |
| RemoveObserver | Removes an observer previously registered via [Subscribe](# Called by the observer's subscription handle when it is... |