Created
April 15, 2020 18:16
-
-
Save DannyMor/3a85f0cd8c8ef1e646c7a1a082584b90 to your computer and use it in GitHub Desktop.
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 throttle(self) -> | |
async with self.semaphore: | |
await self.produce_quota() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment