Return Promises from finally()
Learn how to return a promise from a settlement handler using finally().
We'll cover the following...
Promise chains returning promises
Returning a promise from a settlement handler using finally()
also exhibits some different behavior than using then()
or catch()
. First, if we return a fulfilled promise from a settlement handler, then that promise is ignored in favor of the value from the original ...
Access this course and 1400+ top-rated courses and projects.