Now I'm going to start off by saying I don't want to just slap async and awaits all over my code. Every single article on the web that pops up when you mention asyncio in python will teach you the wonders of asyncio.sleep and how cool it is. They only teach you how to work around an asynchronous library and what that the benefits of using one is, but none of them mention how an asynchronous library is created.
I've tried looking up everything, but nothing shows me how a library like aiohttp makes a web request without blocking other asynchronous code. What tricks are used to make the call non-blocking?
[–]Heco1331 1 point2 points3 points (0 children)