Baccata / vscode-scaladex-search

An humble plugin to search for scala libraries
Apache License 2.0
38 stars 4 forks source link

Query scaladex for both Scala 2.13 and 3 joining results #12

Closed carlosedp closed 1 year ago

carlosedp commented 1 year ago

Not the most beautiful code... but gets the job done.

carlosedp commented 1 year ago

Maybe would be best to have queries in parallel (Futures?)... just dunno how to make it.

Baccata commented 1 year ago

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.