News for hackers. Stuff that matters.
Re:I Avoid Async/Await by wildrhythms on Saturday April 16, 2022 @08:28AM (#31051766)
As soon as you need to chain Promises, this gets very annoying and you quickly find yourself in a nested callback hell.
Re:I Avoid Async/Await by bin_bash on Saturday April 16, 2022 @08:53AM (#31051919)
If you’re nesting “new Promise” you’re almost certainly doing it wrong. This is for generating new promises not executing them.