Since python 3.10 will no longer support the 3.4 way of doing async code, we should drop this in favour of supporting python 3.10. This will involve replacing all references of @asyncio.coroutine with the async keyword, and replacing all references of yield from with the await keyword.
Since python 3.10 will no longer support the 3.4 way of doing async code, we should drop this in favour of supporting python 3.10. This will involve replacing all references of
@asyncio.coroutine
with theasync
keyword, and replacing all references ofyield from
with theawait
keyword.