-
async def caller(): await bar() print("finish") async def bar(): // some code here -
async def caller(): bar() print("finish") def bar(): //some code here
In above example. caller has to wait for the completion of bar() for both cases. Any difference for bar to be a normal / coroutine for this situation? If we want to "await" some functions, why not just use a normal function.