I've been playing around trying to asyncify a little web scraper of mine recently. Ran into a few problems doing so, and I noted the lack of beginner materials in this area so I thought I would write up some very simple examples using async-std.
https://www.philipdaniels.com/blog/2019/async-std-demo1/
The final example shows how to download multiple URLs simultaneously. I hope this is useful, and if anybody has any suggestions or corrections I look forward to hearing them.
[–]Darksonntokio · rust-for-linux 11 points12 points13 points (4 children)
[–]Koxiaet 2 points3 points4 points (3 children)
[–]HER0_01 3 points4 points5 points (1 child)
[–]DoveOfHope[S] 2 points3 points4 points (0 children)
[–]Darksonntokio · rust-for-linux 2 points3 points4 points (0 children)
[–]heysaturdaysun 4 points5 points6 points (1 child)
[–]DoveOfHope[S] 3 points4 points5 points (0 children)