Asynchronous Programming — kaa.base v0.6.0 documentation

### Navigation

- index
- next |
- previous |
- kaa.base v0.6.0 documentation »

# 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 – coroutines and threads – which are unified through InProgress objects.

Contents:

- InProgress Objects
  - InProgress Collections
  - Functions

- Coroutines
  - Decorator

- Thread Support
  - The threaded decorator
  - The synchronized decorator
  - Callback Classes for Threads

- Generators

### Navigation

- index
- next |
- previous |
- kaa.base v0.6.0 documentation »