Commit 4d5115c7 authored by Victor Stinner's avatar Victor Stinner

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

by Martin Panter.
parent 4c11c925
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment