Try to complete the promise with either a value or the exception.
Try to complete the promise with either a value or the exception.
If the promise has already been completed returns false
, or true
otherwise.
Complete the promise with either an exception or a value.
Complete the promise with either an exception or a value.
Either the value or the exception to complete the promise with.
Promise is an object which can be completed with a value or failed with an exception.