4 ms·
Check out "The Problem with Promises in JavaScript" [0] for some gotchas with the design of js promises. [0] https://dev.to/craigmichaelmartin/the-problem-with
by thymanl23 7y ago
Check out "The Problem with Promises in JavaScript" [0] for some gotchas with the design of js promises.
[0] https://dev.to/craigmichaelmartin/the-problem-with-promises-in-javascript-5h46 https://dev.to/craigmichaelmartin/the-problem-with-promises-...
- afiori 7y agoFrom that link I quite like the solution of giving two arguments to the then. It feels very algebraic.