JPDev@programming.dev to Programmer Humor@programming.dev · 10 months agoSleep() at homeprogramming.devimagemessage-square25fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageSleep() at homeprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 10 months agomessage-square25fedilink
minus-squareDr. Moose@lemmy.worldlinkfedilinkEnglisharrow-up0·edit-210 months agoJavascript enters chat: await new Promise(r => setTimeout(r, 2000)); Which is somehow even worse.
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up0·10 months agoAs someone who likes to use the CPU, I don’t think it’s worse.
Javascript enters chat:
await new Promise(r => setTimeout(r, 2000));
Which is somehow even worse.
As someone who likes to use the CPU, I don’t think it’s worse.