Nito.Disposables.IWeakReferenceCountedAsyncDisposable<T>
An instance that represents an uncounted weak reference. All members are threadsafe.
Adds a reference to this reference counted disposable. Returns null if the underlying disposable has already been disposed or garbage collected.
T TryGetTarget()
Attempts to get the target object. Returns null if the underlying disposable has already been disposed or garbage collected.