File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ So, you have to turn you function into async one.
3434And all callers of this function in async functions. And all their callers.
3535
3636This is really hard to model.
37- When you code has two types of uncomposable
37+ When your code has two types of uncomposable
3838functions you increase your mental complexity by extreme levels.
3939
4040Instead, you can use ``Future `` container,
@@ -54,7 +54,7 @@ it allows you to model async interactions in a sync manner:
5454 ... return Future(first()).bind_awaitable(second)
5555
5656 Now we can compose async functions and maintaining a sync context!
57- It is also possible run a ``Future ``
57+ It is also possible to run a ``Future ``
5858with regular tools like ``asyncio.run `` or ``anyio.run ``:
5959
6060.. code :: python
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ It might be later used with multiple values:
113113
114114 >> > assert pipeline(2 ) == ' 2B'
115115
116- It is also might be useful to compose containers together:
116+ It also might be useful to compose containers together:
117117
118118.. code :: python
119119
You can’t perform that action at this time.
0 commit comments