Why you cannot await a python coroutine object directly?

后端 未结 0 1202
别跟我提以往
别跟我提以往 2020-12-11 13:51

So I am running an asyncio example:

import asyncio, time

async def say_after(delay, what):
    await asyncio.sleep(del         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题