.finally(function() { // settled (fulfilled or rejected) }); .finally(()=> { // settled (fulfilled or rejected) });