twisted.internet.defer._inlineCallbacks(result, g, status)
function documentationtwisted.internet.defer
View Source
Carry out the work of inlineCallbacks
.
Iterate the generator produced by an @
inlineCallbacks
-decorated function, g
, send()
ing it the results of each value yield
ed by that generator, until a Deferred
is yielded, at which point a callback is added to that Deferred
to call this function again.
Parameters | result | The last result seen by this generator. Note that this is never a Deferred - by the time this function is invoked, the Deferred has been called back and this will be a particular result at a point in its callback chain. |
g | a generator object returned by calling a function or method decorated with @ inlineCallbacks | |
status | a _CancellationStatus tracking the current status of g |
Function | gotResult | Undocumented |