How to do a proper finally on a promise?
Can I add a finally equivalent to this?
functionReturningPromise()
.then(success => {})
.catch(error => {})
or should I do it this way (does this even work as expected)?
functionReturningPromise()
.then(success => {},error => {}).then(() => { /* finally code */ })