ReactiveUI.Primitives.Advanced.SharedSubscription
Keeps one underlying subscription alive until its own handle and every lease taken from it have been disposed.
Gets a value indicating whether the primary handle has been disposed.
public SharedSubscription()
Takes a lease that keeps the underlying subscription alive until it is disposed.
Assigns the underlying subscription, disposing it at once when it has already been released or one is attached.
Disposes the primary handle; the underlying subscription is released now when no lease is held.
Releases the underlying subscription now, whatever leases remain.