mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-12-01 14:04:01 +03:00
Reword async provider docs
This commit is contained in:
parent
4e4d4a7fb0
commit
b146504675
|
@ -16,7 +16,7 @@ Providers support asynchronous injections.
|
||||||
:emphasize-lines: 26-29
|
:emphasize-lines: 26-29
|
||||||
:lines: 3-
|
:lines: 3-
|
||||||
|
|
||||||
If provider has any awaitable injections it turns into async mode. In async mode provider always returns awaitable.
|
If provider has any awaitable injections it switches into async mode. In async mode provider always returns awaitable.
|
||||||
This causes a cascade effect:
|
This causes a cascade effect:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
Loading…
Reference in New Issue
Block a user