Closed tomkail closed 1 year ago
Why I don't want to use async/await
:
async
await
doesn't tell me if I'm getting an error or a result; but promise does with catch
and then
, respectivelyAnd break code into chunks. Always follow chunk over bulk. I don't know if it is a concept, pattern, or anything.
I'm going to close this issue now. But feel free to continue this thread.
And seriously, I'm so comfortable with Promise
that, I never had the time to even check if our library supports async/await
with Promise
or not (Just like we do in JS/TS).
Good read:
I will try to put some more resources here. In case someone finds them helpful.
:beers: cheerio :beers:
Hey! Bit new to async programming, and I was curious why this uses Promises rather than Async/Await? My limited experience has shown async to work pretty well, avoid callback hell, and it works in edit mode which is nice. Just curious! Ta!