Wraps a PromiseLike<Disposable> with a Disposable interface. Disposing will abort the operation and dispose the resolved value (if/when it resolves).
PromiseLike<Disposable>
Disposable
A Promise-like object that resolves to a Disposable
An object that implements both PromiseLike<T> and Disposable
PromiseLike<T>
Wraps a
PromiseLike<Disposable>with aDisposableinterface. Disposing will abort the operation and dispose the resolved value (if/when it resolves).