Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox@programming.dev to JavaScript@programming.devEnglish · 8 days ago

Rethinking async loops in JavaScript

allthingssmitty.com

external-link
message-square
4
link
fedilink
9
external-link

Rethinking async loops in JavaScript

allthingssmitty.com

codeinabox@programming.dev to JavaScript@programming.devEnglish · 8 days ago
message-square
4
link
fedilink
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
    8
    ·
    8 days 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
      ·
      8 days ago

      Agreed. It is just describing how async await works.

  • z3rOR0ne@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    8 days 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
      ·
      7 days 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: !javascript@programming.dev
Visibility: Public
globe

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

  • 2 users / day
  • 13 users / week
  • 69 users / month
  • 249 users / 6 months
  • 1 local subscriber
  • 2.55K subscribers
  • 122 Posts
  • 150 Comments
  • Modlog
  • mods:
  • Erlingur@programming.dev
  • Ategon@programming.dev
  • nick@programming.dev
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org