[Twisted-Python] Re: Need advice on changing blocking calls to be Twisted-aware...
Andrew Bennetts
andrew-twisted at puzzling.org
Tue May 20 19:37:08 MDT 2003
On Wed, May 21, 2003 at 11:18:36AM +1000, Stuart Hungerford wrote:
>
> Many thanks Andrew and Moshe for the advice here, much
> appreciated. Flushed with success I started to think about
> .render()'ing web pages with not just one blocking system call
> but a number of them.
>
> Can I register multiple callbacks in the deferred model with
> one per system call? Or alternatively, can callbacks re-register
> themselves and handle the system calls in a 'chain'?
I think you probably should read the Deferred howto; it should answer all
these questions (and more!):
http://twistedmatrix.com/documents/howto/defer
Let us know if you still have some questions that that doesn't answer.
-Andrew.
More information about the Twisted-Python
mailing list