Characteristic of Coroutines
Get familiar with the characteristics of coroutines.
We'll cover the following...
Coroutines have a few unique characteristics.
Typical use-cases
Coroutines are the usual way to write event-driven applications, which can be simulations, games, servers, user interfaces, or even algorithms. Coroutines are also typically used for cooperative multitasking. The key to cooperative multitasking is that each task takes as much time as it needs, but avoids sleeping or waiting and instead allows some other task to run. Cooperative multitasking stands in contrast to preemptive ...