Closed carlosedp closed 1 year ago
Maybe would be best to have queries in parallel (Futures?)... just dunno how to make it.
Intuitively, I think they're already running in parallel : the Thenable
is basically a Future
(in that it's eager), so instantiating them before flatMapping them would likely have the effect of running the requests in parallel.
Not the most beautiful code... but gets the job done.