<PackageReference Include="Nito.Disposables" Version="2.3.0" />

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.

Attempts to get the target object. Returns null if the underlying disposable has already been disposed or garbage collected.