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

Add asyncio bootstrapper decorator #27

Open
epsy opened this issue May 24, 2017 · 2 comments
Open

Add asyncio bootstrapper decorator #27

epsy opened this issue May 24, 2017 · 2 comments
Milestone

Comments

@epsy
Copy link
Owner

epsy commented May 24, 2017

The decorator would allow the use of async functions by running them using loop.run_until_complete. This should be implemented in a way that doesn't prevent execution if asyncio isn't present. (import within the decorator will do)

@epsy epsy added this to the 4.1 milestone May 24, 2017
@piranna
Copy link

piranna commented May 10, 2024

Any update on this?

@piranna
Copy link

piranna commented May 10, 2024

Myself i'm using asyncio.run(), that's a higher level API. I think that's the one we should be using here.

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

No branches or pull requests

2 participants