<PackageReference Include="ReactiveUI.Primitives.Core" Version="10.0.0" />
ReactiveUI.Primitives.Advanced.SharedSubscription
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();
}
}