[Twisted-Python] Waiting on a Deferred
saketh.bhamidipati at gmail.com
Tue Jul 22 19:10:19 EDT 2008
It works! It never occurred to me that Twisted might unwrap the Deferred
Thank you for your prompt replies!
On Tue, Jul 22, 2008 at 11:31 AM, Christopher Armstrong <
radix at twistedmatrix.com> wrote:
> On Tue, Jul 22, 2008 at 2:17 PM, Saketh <saketh.bhamidipati at gmail.com>
> > Hello everyone,
> > Is it possible to call asynchronous methods synchronously?
> > I'm asking because I have an xmlrpc.XMLRPC server which distributes a
> > calculation across several remote servers, collects the results in a
> > DeferredList, and wraps it all inside an xmlrpc_something method. Thus,
> > needs to return the result to a web browser synchronously.
> Everything after "thus" here is incorrect. You can return Deferreds
> from xmlrpc_something methods.
> Christopher Armstrong
> International Man of Twistery
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python