File: index.rst

package info (click to toggle)
kaa-base 0.6.0%2Bsvn4596-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 2,348 kB
  • ctags: 3,068
  • sloc: python: 11,094; ansic: 1,862; makefile: 74
file content (21 lines) | stat: -rw-r--r-- 579 bytes parent folder | download | duplicates (2)
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