Home > Topic List > Usage of promise
"Promise" is a programming concept used to handle asynchronous operations. It can be used to represent the final result of an asynchronous operation. Promise objects have three states: pending (in progress), fulfilled (successful) and rejected (failed). The usage of Promise mainly includes constructors, instance methods (then, catch, finally) and state transitions.
5360 times of learning
Collection3213 times of learning
Collection3537 times of learning
Collection31274 times of learning
Collection