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 kaa.coroutine() or 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 |
Finish the generator, the result will be ignored
Send a new value (producer)
Throw an error, this will stop the generator