Write me.
This decorator is used to construct asynchronous generators, to be used in combination with functions that return InProgress objects (such as those functions decorated with @:func:kaa.coroutine or @:func:kaa.threaded).
| Parameters: |
|
|---|
Generator for InProgress objects
kaa.Generator
| finish() | Finish the generator, the result will be ignored |
|---|---|
| send() | Send a new value (producer) |
| throw() | Throw an error, this will stop the generator |