David Lechner d71f0e1fbd
use asyncio.run() in examples
calling `asyncio.get_running_loop()` will fail if there is no running event loop, so we should use `asyncio.run()` instead to create a new loop.

Also, use events for infinite waiting instead of futures since there is no return value.
2022-09-26 12:50:22 -05:00
..
2022-09-09 08:43:26 -05:00
2022-09-09 08:43:26 -05:00
2022-09-09 08:45:49 -05:00
2022-09-09 08:45:49 -05:00
2022-09-09 08:45:49 -05:00
2022-09-09 08:45:49 -05:00
2022-09-09 08:45:49 -05:00
2022-09-09 08:37:05 -05:00
2022-09-09 10:21:07 -05:00
2022-09-09 08:45:49 -05:00
2022-09-09 08:37:05 -05:00
2022-09-09 08:45:49 -05:00
2022-09-09 08:37:05 -05:00
2022-09-09 10:50:34 -05:00
2022-09-09 08:37:05 -05:00
2022-09-09 08:45:49 -05:00
2022-09-09 08:44:30 -05:00
2022-09-09 08:37:05 -05:00
2022-09-09 08:45:49 -05:00