R

Ravina • 3.96K Points
Extraordinary

Q. Which object is required to use background tasks in FastAPI?

  • (A) TaskQueue
  • (B) BackgroundHandler
  • (C) BackgroundTasks
  • (D) AsyncJob
  • Correct Answer - Option(C)
  • Views: 22
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina

`BackgroundTasks` is used to schedule tasks to run after returning a response.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.