1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
.. _async:
Asynchronous Programming
========================
One of the design goals of kaa is to provide a suitable framework that can be
used to avoid blocking the main loop for extended periods (in order to improve
interactivity and reduce latency), and kaa.base provides two convenient
approaches to accomplish this with asynchronous programming -- :ref:`coroutines
<coroutines>` and :ref:`threads <threads>` -- which are unified through
:ref:`InProgress <inprogress>` objects.
Contents:
.. toctree::
:maxdepth: 2
inprogress
coroutines
threads
generators
|