Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
get_coro versionchanged info and cross-reference
  • Loading branch information
jbower-fb committed May 8, 2023
commit 191993500180b73483bb60c4b3f0bdcb67c5280f
7 changes: 6 additions & 1 deletion Doc/library/asyncio-task.rst
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,8 @@ Running Tasks Concurrently
and there is no running event loop.


.. _eager-task-factory:

Eager Task Factory
==================

Expand Down Expand Up @@ -1177,10 +1179,13 @@ Task Object
.. note::

This will return ``None`` for Tasks which have already
completed eagerly.
completed eagerly. See the :ref:`Eager Task Factory <eager-task-factory>`.

.. versionadded:: 3.8

.. versionchanged:: 3.12
Added note on specific eager task execution behavior.

.. method:: get_context()

Return the :class:`contextvars.Context` object
Expand Down