Not yet, but I expect there will be something in Http to parallelize HTTP requests in the future.
Since it's just a performance optimization and performance is fine as-is, I thought it'd be prematurely optimization to go out of my way to use Cmd.batch instead, but in a world where I can parallelize via Http I'd reach for that instead of Task.map2 assuming it would be an easy upgrade. :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Not yet, but I expect there will be something in
Http
to parallelize HTTP requests in the future.Since it's just a performance optimization and performance is fine as-is, I thought it'd be prematurely optimization to go out of my way to use
Cmd.batch
instead, but in a world where I can parallelize viaHttp
I'd reach for that instead ofTask.map2
assuming it would be an easy upgrade. :)