<PackageReference Include="ReactiveUI.Primitives.Core" Version="8.3.0" />

ReactiveUI.Primitives.Advanced.SharedSubscription

public sealed class SharedSubscription : IDisposable
Keeps one underlying subscription alive until its own handle and every lease taken from it have been disposed.
namespace ReactiveUI.Primitives.Advanced { public sealed class SharedSubscription : IDisposable { public bool IsDisposed { get; } public void Attach(IDisposable underlying); public IDisposable Acquire(); public void Release(); public void Dispose(); public SharedSubscription(); } }