Glossary

Background tasks

If a form submission triggers a long-running operation (generating a PDF, calling a slow API), Flask will hold the HTTP connection open until the operation completes. Celery or RQ are task queue solutions for this.

Learn More

Related Terms