Skip to content

Glossary: Building APIs with FastAPI

Thread pool

A set of worker threads kept ready. FastAPI runs `def` endpoints in one, so blocking code doesn't hold up other requests.

Where the book teaches it

Related terms

async defEvent loop