mirror of
https://github.com/django/django.git
synced 2025-07-06 18:59:13 +00:00
[5.2.x] Fixed typo in docs/topics/signals.txt.
Backport of e2b9a179133ebca9773c5c259f6a7d27489cf141 from main
This commit is contained in:
parent
280523bbd8
commit
45eed2c9dc
@ -314,7 +314,7 @@ Whether synchronous or asynchronous, receivers will be correctly adapted to
|
|||||||
whether ``send()`` or ``asend()`` is used. Synchronous receivers will be
|
whether ``send()`` or ``asend()`` is used. Synchronous receivers will be
|
||||||
called using :func:`~.sync_to_async` when invoked via ``asend()``. Asynchronous
|
called using :func:`~.sync_to_async` when invoked via ``asend()``. Asynchronous
|
||||||
receivers will be called using :func:`~.async_to_sync` when invoked via
|
receivers will be called using :func:`~.async_to_sync` when invoked via
|
||||||
``sync()``. Similar to the :ref:`case for middleware <async_performance>`,
|
``send()``. Similar to the :ref:`case for middleware <async_performance>`,
|
||||||
there is a small performance cost to adapting receivers in this way. Note that
|
there is a small performance cost to adapting receivers in this way. Note that
|
||||||
in order to reduce the number of sync/async calling-style switches within a
|
in order to reduce the number of sync/async calling-style switches within a
|
||||||
``send()`` or ``asend()`` call, the receivers are grouped by whether or not
|
``send()`` or ``asend()`` call, the receivers are grouped by whether or not
|
||||||
|
Loading…
x
Reference in New Issue
Block a user