Run tasks in parallel and handle the results like promise.all

I made this package to save some boilerplate when handling the results of multiple tasks like http requests
https://package.elm-lang.org/packages/0ui/elm-task-parallel/latest

Internally, it’s doing what I’ve seen many people do (batch commands, keep a Maybe for each result and check when all are done) but it’s been handy for me and I use it at work. Especially when you start getting to 3 or more at a time, you can save quite a few cases.

Hope it’s useful for someone! Cheers.

9 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.