both a regular result form a .then() and also any kind of error available to .catch()
I'm under the impression that I can achieve that with finally(), Is this correct?
thx.
You can just declare your function as a variable and use it in both places
Why not juse use .then with 2 callbacks for this?
Or... look at the superior lib, Fluture
Обсуждают сегодня