Assertion: promise | /r/HasProperty | resolved
Facets:
Source sentences:
text: A promise is settled if it’s not pending (it has been resolved or rejected).
text: The executor function is called with the ability to resolve or // reject the promise (resolve, reject) => { log.insertAdjacentHTML('beforeend', thisPromiseCount + ')
text: Wait for all promises to be resolved, or for any to be rejected.
text: A promise that is either resolved or rejected is called “settled”, as opposed to an initially “pending” promise.
text: The first argument of .then is a function that runs when the promise is resolved, and receives the result.
text: but you can use it once the promise is resolved.
text: registers a handler that is called when the promise is resolved.
text: registers a handler that is called when either the promise is resolved or rejected.
text: You compute a value and want to control when the promise is resolved.
text: Promise is neither resolved nor rejected.
text: A promise is resolved when it makes progress toward fulfillment or rejection.
text: A promise can only be resolved once, and it can be resolved with a promise instead of a fulfillment or rejection.
text: A promise is resolved one time.
text: Promises behave the same way regardless of whether they are already resolved or resolved in the future.
text: Both Kris Kowal's Q and Kris Zyp's Promised-IO libraries enforce the rule that a promise can only be resolved once.
text: A powerful aspect of derived promises is that their resolution/rejection can be deferred until another promise has been resolved/rejected.