The methods of this interface are available when a Promise has been augmented using the trackState function.
trackState
Returns true if the promise was cancelled before it was able to complete.
Returns true if the promise is fulfilled, i.e. if it has a success value.
Returns true if the promise is rejected, i.e. if it contains an error.
Returns true if the promise is settled, i.e. if it is no longer pending.
The methods of this interface are available when a Promise has been augmented using the
trackState
function.