Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What are the three states of promise in AngularJS?
Home
Angular
What are the three states of promise in AngularJS?
0
votes
asked
Sep 29, 2023
in
Angular
by
JackTerrance
What are the three states of promise in AngularJS?
angularjs-interview-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Sep 29, 2023
by
JackTerrance
Promises have three states:
Pending:
This is an initial state of the Promise before an operation begins
Fulfilled:
This state indicates that the specified operation was completed.
Rejected:
This state indicates that the operation did not complete. In this case an error value will be thrown.
...