|
|
|
|
|
by galaxyLogic
2239 days ago
|
|
I used to use more "Promises" but now I mostly code with plain callbacks if possible. It is just simpler, less thinking needed. I spend that thinking-budget on other things. One thing that is tricky with async is that nobody tells you if the async function never does what it should. I wish they would add some more built-in support for that in the next JS version. Promises hold promise (pun intended) but they are a bit too complicated for my brain. |
|
I've been toying with the idea of a promise free async/await implementation lately. I'm interested in feedback anyone would have.
https://github.com/bessiambre/casync