We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I agree to follow the MicroPython Code of Conduct to ensure a safe and respectful space for everyone.
I've searched for existing issues regarding this feature, and didn't find any.
Just in PEP 525, it's really easy to make a async generator instead of coding a new class with aiter and anext .
Just like this:
async def test(): for i in range(5): await something ' yield i
I believe this is an important syntax that makes asynchronous generation as convenient as normal generators.
The text was updated successfully, but these errors were encountered:
An initial implementation of PEP 525 is given in #6668.
Sorry, something went wrong.
No branches or pull requests
Checks
I agree to follow the MicroPython Code of Conduct to ensure a safe and respectful space for everyone.
I've searched for existing issues regarding this feature, and didn't find any.
Description
Just in PEP 525, it's really easy to make a async generator instead of coding a new class with aiter and anext .
Just like this:
Code Size
I believe this is an important syntax that makes asynchronous generation as convenient as normal generators.
Implementation
The text was updated successfully, but these errors were encountered: