Software Architect, Frontend
A Promise in short:
“Imagine you are a kid. Your mom promises you that she’ll get you a new phone next week.”
You don’t know if you will get that phone until next week. Your mom can either really buy you a brand new phone, or stand you up and withhold the phone if she is not happy :(.
That is a promise. A promise has 3 states. They are:
Full article available in my Scotch:
Create your free account to unlock your custom reading experience.