Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

promise states javascript

// A JavaScript Promise can be in several states:

// - Pending - response is not ready yet. Please wait.
// - Fulfilled - response is ready. Success. Take the data.
// - Rejected - an error occurred. Handle it.
Source by learn.coderslang.com #
 
PREVIOUS NEXT
Tagged: #promise #states #javascript
ADD COMMENT
Topic
Name
2+7 =