Oct-05-2021, 02:00 AM
(Oct-04-2021, 04:04 PM)deanhystad Wrote: Have you used asyncio before? I would expect to see code setting up an event loop and tasks added to the event loop.
Yeah...But in the new vision, we can omit loop.create_task and put list which contains coroutine function into asyncio.wait directly. And then, use asyncio.run instead get_event_loop and loop.close, isn't it? If there is anything wrong, I'm willing to be refuted.