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
Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.
Mike Young -
Mike Young -
Mike Young -
Mike Young -
Top comments (0)