Created
December 3, 2021 16:59
-
-
Save dgtlctzn/4476c5c201e2f2c7b04cd69d004c6f17 to your computer and use it in GitHub Desktop.
Gather
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async def request_urls(urls: List[str]): | |
tasks: List[asyncio.Task] = [] | |
... | |
return await asyncio.gather(*tasks) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment