twisted.internet.defer._cancellableInlineCallbacks(g) function documentationtwisted.internet.defer
View Source
Make an @inlineCallbacks cancellable.
| Parameters | g | a generator object returned by calling a function or method decorated with @inlineCallbacks |
| Returns | Deferred for the @inlineCallbacks that is cancellable. | |
| Function | cancel | Undocumented |
| Function | handleCancel | Propagate the cancellation of an @inlineCallbacks to the Deferred it is waiting on. |
Propagate the cancellation of an @inlineCallbacks to the Deferred it is waiting on.
| Parameters | result | An _InternalInlineCallbacksCancelledError from cancel(). |
| Returns | A new Deferred that the @inlineCallback generator can callback or errback through. | |