Background Tasks - FastAPI
fastapi.tiangolo.com · 1,252 words · saved by 1 readers
FastAPI framework, high performance, easy to learn, fast to code, ready for production
Background Tasks ¶ You can define background tasks to be run after returning a response. This is useful for operations that need to happen after a request, but that the client doesn't really have to be waiting for the operation to complete before receiving the response. This includes, for example: Email notifications sent after performing an action: As connecting to an email server and sending an email tends to be "slow" (several seconds), you can return the response right away and send the email notification in the background. Processing data: For example, let's say you receive a file th
related reading
- Cookbookcookbook.openai.com
- Bolt AI builder: Websites, apps & prototypesbolt.new
- v0 by Vercel - Build Full-Stack Web Apps with AIv0.dev
- Bigger Applications - Multiple Files - FastAPIfastapi.tiangolo.com
- Hermes Agent — The Agent That Grows With Youhermes-agent.nousresearch.com
- Prompting best practicesdocs.anthropic.com
- Dryftdryft.ai
- GitHub - kalaspuff/ai-assisted-task-executor: 🤖 A Task-Driven Autonomous Agent System as an AI-powered solution that leverages LLMs, vector search, and the LangChain framework to efficiently complete, generate, and prioritize tasks using agithub.com
- eve – The Agent Framework - Vercelvercel.com
- Prompt generation | OpenAI APIplatform.openai.com
- GitHub - nikivdev/go: Go tools, libraries · GitHubgithub.com
- Notionnanransohoff.com