What does the await keyword do in Python?
Correct answer
D. Suspends a coroutine until the awaited result is ready
6 views
D. Suspends a coroutine until the awaited result is ready
6 views
await yields control to the event loop until the awaitable finishes.
Asked in: Python Interview Advanced Python
https://docs.python.org/3/library/index.htmlNot sure why the answer is D? Ask here and get an explanation.