Congratulations on the upcoming holidays! If you try to await corountine more than once, a await corountine exception is RuntimeError: cannot reuse already awaited coroutine . I can not understand the reasons for this behavior and what is the actual problem in several places to get the coroutine value, and what are the ways to solve the problem. Thank!

    1 answer 1

    For multiple execution of await coroutine you need to make the corresponding future from the coroutine, for example through asyncio.ensure_future , to get the value so await future as many times as needed and regardless of the state of the future .