[Twisted-web] using @defer.inlineCallbacks and yield correctly
p.mayers at imperial.ac.uk
Thu Sep 1 06:01:44 EDT 2011
On 09/01/2011 08:39 AM, Stephan wrote:
> thanks Reza,
> Can you think of any reason why I would want a deferred in my scenerio?
Whenever there is a result which isn't available yet, you usually want a
deferred in Twisted.
In your case, you want a deferred that will give the output of the
process, or an error if a timeout occurs.
This should really be asked on the main twisted list, not the
twisted-web list, as it's not web-specific.
More information about the Twisted-web