Skip to content
New issue

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

Uasyncio equivalent for asyncio.gather/asyncio.wait? #74

Open
GimmickNG opened this issue Apr 29, 2022 · 1 comment
Open

Uasyncio equivalent for asyncio.gather/asyncio.wait? #74

GimmickNG opened this issue Apr 29, 2022 · 1 comment

Comments

@GimmickNG
Copy link

I'm really confused by the uasyncio module, all the documentation I see is either out of date or just plain inapplicable.

For example, https://pycopy.readthedocs.io/en/latest/library/uasyncio.html says that uasyncio.run, uasyncio.create_task, uasyncio.current_task, uasyncio.gather exists, when in reality they don't. Nor do the Event, Lock and ThreadSafeFlag class exist either.

Apart from using run_forever and run_until_complete, is this library usable? I want to wait on 2 tasks created like uasyncio.gather, is this even possible right now?

@pmp-p
Copy link

pmp-p commented Apr 30, 2022

I'm really confused by the uasyncio module, all the documentation I see is either out of date or just plain inapplicable.

Hi, why not offer a PR if you see something that can/should be fixed in docs ?

asyncio.gather should not be very hard to add yourself, after all it's just awaiting all elements of a list until it's empty no ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants