Python coroutine created with 'async' keyword (Python 3.5+) can be awaited, however, the outer most one can't be awaited as Python says "SyntaxError: 'await' outside function"
import asyncio as aio
async def f():
print(1)
await aio.sleep(3)
print(2)
return 3
print(await f())
How to 'await' the 'f' function in the example above?