On 23/09/11 20:33, 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 another thread, or another process and
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 .
I know this is a topic that comes up occasionally, and every thread
I've see ends the same way: don't try it.
Here's my problem. I am trying to integrate some async twisted code
with pyfilesystem. Methods in pyfilesystem, such as listdir() and
open() that I need to implement expect synchronous res