Glossary: Building APIs with FastAPI
BackgroundTasks
Also written: add_task
A FastAPI parameter type you add to an endpoint, which FastAPI fills in. You call `tasks.add_task(function, args...)` to schedule work after the reply.
Glossary: Building APIs with FastAPI
Also written: add_task
A FastAPI parameter type you add to an endpoint, which FastAPI fills in. You call `tasks.add_task(function, args...)` to schedule work after the reply.