monero.town
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox@programming.dev to JavaScript@programming.devEnglish · 3 months ago

Rethinking async loops in JavaScript

allthingssmitty.com

external-link
message-square
4
link
fedilink
  • cross-posted to:
  • [email protected]
8
external-link

Rethinking async loops in JavaScript

allthingssmitty.com

codeinabox@programming.dev to JavaScript@programming.devEnglish · 3 months ago
message-square
4
link
fedilink
  • cross-posted to:
  • [email protected]
Rethinking async loops in JavaScript - Matt Smith
allthingssmitty.com
external-link
Struggling with 'await' in loops? Explore common mistakes and modern solutions to optimize async code for performance.
alert-triangle
You must log in or # to comment.
  • sbv@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 months ago

    That’s a handy set of tips, but I’m not sure that it’s rethinking async or looping.

    • TechnoCat@piefed.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      3 months ago

      Agreed. It is just describing how async await works.

  • z3rOR0ne@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Even though its just a toolset, its a good one. I wasn’t aware of Promise.allSettled. Nice post.

    • Kissaki@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 months ago

      Now it’s all settled

JavaScript@programming.dev

javascript@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 26 users / day
  • 51 users / week
  • 155 users / month
  • 297 users / 6 months
  • 1 local subscriber
  • 2.63K subscribers
  • 239 Posts
  • 261 Comments
  • Modlog
  • mods:
  • Erlingur@programming.dev
  • Ategon@programming.dev
  • nick@programming.dev
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org