<PackageReference Include="ReactiveUI.Primitives" Version="10.0.0" />

ReactiveUI.Primitives.Advanced.AsyncSubscriptionLifetime

public sealed class AsyncSubscriptionLifetime : IDisposable
Owns cancellation and the eventual inner disposable for asynchronous signal subscriptions.
public bool IsCancellationRequested { get; }

Gets a value indicating whether disposal requested cancellation before asynchronous setup completed.

public CancellationToken Token { get; }

Gets the token supplied to the asynchronous subscription.

public void Complete()

Marks asynchronous setup complete and releases the cancellation source while it is owned here.

public void Dispose()

public void SetSubscription(IDisposable disposable)

Assigns the disposable returned by asynchronous setup.