On Sep 23, 2011, at 3:33 PM, gary jefferson wrote:

> So, am I missing some other more elegant solution? Is there really no
> way to turn async, deferred-returning twisted code into synchronous
> result-returning code, via clever use of wrappers etc?

Run the reactor in a background thread and do .blockingCallFromThread().

If you can't run a background thread, then you're probably out of luck - sorry 
:).

-glyph
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to