From 00c60c8bdbabe839bd30e4592915b1efe001b753 Mon Sep 17 00:00:00 2001 From: Yerassyl Zhanymkanov Date: Sat, 8 Jun 2024 13:08:34 +0200 Subject: [PATCH] Add a bit more explicit differentiation between sync and sync --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a65200..e1ec2b4 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ from src.posts.constants import ErrorCode as PostsErrorCode # in case we have S ## Async Routes FastAPI is an async framework, in the first place. It is designed to work with async I/O operations and that is the reason it is so fast. -However, FastAPI doesn't restrict you to use only `async` routes, and the developer can use `sync` routes as well (with a price). +However, FastAPI doesn't restrict you to use only `async` routes, and the developer can use `sync` routes as well (with a price). This might confuse beginner developers into believing that they are the same, but they are not. ### I/O Intensive Tasks Under the hood, FastAPI can [effectively handle](https://fastapi.tiangolo.com/async/#path-operation-functions) both async and sync I/O operations.