Skip to content

Commit 00c60c8

Browse files
committed
Add a bit more explicit differentiation between sync and sync
1 parent c2c4d16 commit 00c60c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ from src.posts.constants import ErrorCode as PostsErrorCode # in case we have S
113113
## Async Routes
114114
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.
115115

116-
However, FastAPI doesn't restrict you to use only `async` routes, and the developer can use `sync` routes as well (with a price).
116+
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.
117117

118118
### I/O Intensive Tasks
119119
Under the hood, FastAPI can [effectively handle](https://fastapi.tiangolo.com/async/#path-operation-functions) both async and sync I/O operations.

0 commit comments

Comments
 (0)