Something like p-map can be useful if you care about concurrency over a bunch of async tasks + simpl

Something like p-map can be useful if you care about concurrency over a bunch of async tasks + simplifies failure handling: https://www.npmjs.com/package/p-map
  • but if you just need a while loop, use a while loop!
Was this page helpful?