TaskSignalSubscription(IObserverAsync) constructor¶
Defined in
Type: TaskSignalSubscriptionReactiveUI.Primitives.Async.Advanced
Assembly: ReactiveUI.Primitives.Async.Core.dll
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
protected TaskSignalSubscription(IObserverAsync<T> observer)
Summary: Represents an asynchronous subscription that can be cancelled and disposed, managing the lifecycle of an observer and its associated operations.
Parameters
| Name | Type | Description |
|---|---|---|
observer | [IObserverAsync | The observer that receives notifications for the subscription. Cannot be null. |
Remarks
This type provides a base for implementing cancellable, asynchronously disposable subscriptions that coordinate observer notifications and resource cleanup. Disposal cancels any ongoing operations and ensures that all resources are released before completion. Derived classes should implement the core execution logic in ExecuteAsyncCore.