[Twisted-Python] waitForDeferred Question

Brian Granger bgranger at scu.edu
Sat Mar 11 13:32:43 EST 2006

Regardless of whether or not I should *want* to do this (get the
result of a Deferred() in a manner the *appears* synchronous) there is
a question that remains:

Can it be accomplish using waitForDeferred?  The docstring seems to
imply that it can, but it is not clear.

If so, could someone provide an working example.

Just a side note, I seem to recall Guido has even citing this type of
usage scenario as one of the motivations for improving generators.



More information about the Twisted-Python mailing list