Maven (famous)@lemmy.world to Programmer Humor@lemmy.ml · 10 months agoSTOP DOING ASYNClemmy.worldimagemessage-square63fedilinkarrow-up1717arrow-down139
arrow-up1678arrow-down1imageSTOP DOING ASYNClemmy.worldMaven (famous)@lemmy.world to Programmer Humor@lemmy.ml · 10 months agomessage-square63fedilink
minus-square30p87@feddit.delinkfedilinkarrow-up5·10 months agoasync/await could be useful if one creates an entire program designed on and for it, but it stops being acceptable as soon as I need two .thens inside of each other because I tried to use fetch in a non-async app without race conditions
async/await could be useful if one creates an entire program designed on and for it, but it stops being acceptable as soon as I need two .thens inside of each other because I tried to use fetch in a non-async app without race conditions
Observables are your friends