showing results for - "promise states javascript"
Leon
07 Jun 2019
1// A JavaScript Promise can be in several states:
2
3// - Pending - response is not ready yet. Please wait.
4// - Fulfilled - response is ready. Success. Take the data.
5// - Rejected - an error occurred. Handle it.