Skip to content

Glossary: ML in Production

Background task

Also written: BackgroundTasks, tasks.add_task

Work FastAPI runs after the response has been sent, such as writing the prediction log. The caller doesn't wait for it.

Where the book teaches it

Related terms

Prediction logFastAPI