Y
Hacker News
new
|
ask
|
show
|
jobs
by
thymanl23
2445 days 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-...
1 comments
afiori
2445 days ago
From that link I quite like the solution of giving two arguments to the then. It feels very algebraic.
link