[Twisted-Python] Simultaneous Blocking Operations and Twisted

Itamar Shtull-Trauring itamar at itamarst.org
Fri Mar 30 08:37:41 EDT 2007

On Fri, 2007-03-30 at 13:11 +0100, Matthew Glubb wrote:

> I guess what I am asking is, if an HTTP request (serviced using  
> twisted.web.soap and twistd) starts an asynchronous operation, how  
> does it know that it should wait for an event from the operation  
> before completing its response.

twisted.web.soap allows you to return a Deferred as a result of a SOAP
method. When someone eventually calls .callback() or .errback() on that
Deferred the HTTP request will get its response.

More information about the Twisted-Python mailing list