A simplified version of Twisted’s deferred execution mechanism.
Handle for an asynchronously executed task. This is similar to (but incompatible with) Twisted’s deferred class. These are produced by the TaskExecutor class and functions decorated with @inlineCallbacks. Users should not normally instantiate these manually.
Returns a value from an @inlineCallbacks function. Since they are generators, a normal return statement can’t be used.
Enables the wrapped function to execute code running in other threads in a synchronous manner by creative use of the generators system.
| Return type: | AsyncToken |
|---|