Skip to content

Commit

Permalink
Removed old note about wrap_async_context_manager using multiple tasks (
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert authored Aug 9, 2021
1 parent 7172b04 commit bd8d1a1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/threads.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,3 @@ managers as a synchronous one::

.. note:: You cannot use wrapped async context managers in synchronous callbacks inside the event
loop thread.

.. note:: The ``__aenter__()`` and ``__aexit__()`` methods will be called from different
tasks so a task group as the async context manager will not work here.

0 comments on commit bd8d1a1

Please sign in to comment.