Re: using @defer.inlineCallbacks and yield correctly

Phil Mayers <[email protected]>
Newsgroups gmane.comp.python.twisted.web
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.