R

Ravina • 3.96K Points
Extraordinary

Q. What type of function should be used with `await` in FastAPI?

  • (A) Blocking functions
  • (B) Non-async functions
  • (C) Asynchronous functions (coroutines)
  • (D) Static methods
  • Correct Answer - Option(C)
  • Views: 20
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina

`await` is used with coroutines defined using `async def`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.