await
Also written: async def
`async def` defines a coroutine function, and `await x` runs `x` and waits for its result while other coroutines run. `await` only works inside `async def`.
Also written: async def
`async def` defines a coroutine function, and `await x` runs `x` and waits for its result while other coroutines run. `await` only works inside `async def`.