Kevin Powell - CommunityKP-C
Kevin Powell - Communityโ€ข4mo agoโ€ข
16 replies
gunter

Understanding Promises

Hey guys, I don't quite understand this, it seems quite cyclical? It seems to be defining a term using the term itself?

Promises have two possible mutually exclusive fates: resolved, and unresolved.

- A promise is resolved if trying to resolve or reject it has no effect, i.e. the promise has been "locked in" to either follow another promise, or has been fulfilled or rejected.
- A promise is unresolved if it is not resolved, i.e. if trying to resolve or reject it will have an impact on the promise.

Original article: https://github.com/domenic/promises-unwrapping/blob/master/docs/states-and-fates.md
Was this page helpful?