Module: cogen.core.coroutines
Coroutine related boilerplate and wrappers.
Classes
local
A threadlocal-like object that works in the context of coroutines. That means, the current running coroutine has the _ident_.
Functions
coroutine (func)
A decorator function for generators. Example:
@coroutine def plain_ol_generator(): yield bla yield bla ...