We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a feature request.
See here for context: https://old.reddit.com/r/elm/comments/91t937/is_it_possible_to_make_multiple_http_requests_in/
Imagine I have 2 http requests:
getDogs : Cmd DogList
getCats : Cmd CatList
I would like to run these two in parallel and emit one single message, GotAnimals (DogList, CatList).
GotAnimals (DogList, CatList)
Having to handle each msg individually in the update function leads to avoidable complexity.
Edit: There's even a package for this (https://package.elm-lang.org/packages/0ui/elm-task-parallel/latest/), but I think it's a common enough need that it should be baked into the language.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this! To set expectations:
Finally, please be patient with the core team. They are trying their best with limited resources.
Sorry, something went wrong.
No branches or pull requests
This is a feature request.
See here for context: https://old.reddit.com/r/elm/comments/91t937/is_it_possible_to_make_multiple_http_requests_in/
Imagine I have 2 http requests:
getDogs : Cmd DogList
getCats : Cmd CatList
I would like to run these two in parallel and emit one single message,
GotAnimals (DogList, CatList)
.Having to handle each msg individually in the update function leads to avoidable complexity.
Edit: There's even a package for this (https://package.elm-lang.org/packages/0ui/elm-task-parallel/latest/), but I think it's a common enough need that it should be baked into the language.
The text was updated successfully, but these errors were encountered: