The type of the resolved value of the promise.
The type of the progress update values (defaults to TResult).
The type of the resolved value of the promise.
The type of the progress update values (defaults to TResult).
Readonly[toPrivatecancellationPrivateeventsPrivatetaskPrivatetaskAttaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The resolved value cannot be modified from the callback.
Optionalonfinally: (() => void) | nullThe callback to execute when the Promise is settled (fulfilled or rejected).
A Promise for the completion of the callback.
Represents a Promise that supports progress reporting and cancellation.
ProgressablePromiseextends the standard Promise pattern by allowing consumers to:then,catch, andfinallymethods, returning a newProgressablePromise.Example