Someone asked how to run 10 HTTP requests in parallel, and collect the output with async_std + surf. I wrote a quick example using task::spawn + sync::Barrier here:https://github.com/async-rs/async-std/issues/303#issuecomment-540612748 …
-
Show this thread
I feel we can do so much better than this still; but it's not bad and thought it'd be cool to share!
11:56 AM - 10 Oct 2019
from Berlin, Germany
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.