Open epsy opened 7 years ago
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)
Any update on this?
Myself i'm using asyncio.run(), that's a higher level API. I think that's the one we should be using here.
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)