asyncio doc: call_soon() does not call immediatly the callback. Patch written

by Martin Panter.
This commit is contained in:
Victor Stinner 2014-12-15 17:50:55 +01:00
parent 4c11c92578
commit 4d5115c7b5
1 changed files with 3 additions and 1 deletions

View File

@ -85,7 +85,9 @@ keywords to your callback, use :func:`functools.partial`. For example,
.. method:: BaseEventLoop.call_soon(callback, \*args)
Arrange for a callback to be called as soon as possible.
Arrange for a callback to be called as soon as possible. The callback is
called after :meth:`call_soon` returns, when control returns to the event
loop.
This operates as a FIFO queue, callbacks are called in the order in
which they are registered. Each callback will be called exactly once.