Reword async provider docs

This commit is contained in:
Roman Mogylatov 2021-01-10 17:09:14 -05:00
parent 4e4d4a7fb0
commit b146504675

View File

@ -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