promise
.then((result) => { ··· })
.catch((error) => { ··· })
.finally(() => {
/\*logic independent of success/error \*/
})
The handler is called when the promise is fulfilled or rejected
Useful links
For further actions, you may consider blocking this person and/or reporting abuse
Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.
Mike Young -
Mike Young -
Mike Young -
Mike Young -
Top comments (0)