4 ms·
This example isn't really making use of asyncio. asyncio.run_until_complete() is a blocking method (note that you don't use await when calling it, as it's not a
by zedpm 11y ago
This example isn't really making use of asyncio. asyncio.run_until_complete() is a blocking method (note that you don't use await when calling it, as it's not a coroutine.) You'd want to use something like asyncio.wait() with multiple futures to achieve some concurrency.
- mehmetkose 11y agoThanks for the notice. I just trying python 3.5 goodies. I updated the code now and I added a queue.