mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Improve asyncio.loop.call_soon() documentation (GH-20883)
* Add a glossary entry for the term "callback" * Link to it in loop.call_soon() and in the "Concurrency and Multithreading" section Co-authored-by: Kyle Stanley <aeros167@gmail.com>
This commit is contained in:
parent
c96d00e88e
commit
a16d697049
3 changed files with 7 additions and 3 deletions
|
@ -191,8 +191,8 @@ Scheduling callbacks
|
|||
|
||||
.. method:: loop.call_soon(callback, *args, context=None)
|
||||
|
||||
Schedule a *callback* to be called with *args* arguments at
|
||||
the next iteration of the event loop.
|
||||
Schedule the *callback* :term:`callback` to be called with
|
||||
*args* arguments at the next iteration of the event loop.
|
||||
|
||||
Callbacks are called in the order in which they are registered.
|
||||
Each callback will be called exactly once.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue