[Twisted-Python] Simultaneous Blocking Operations and Twisted

Matthew Glubb matt at zgroupplc.com
Fri Mar 30 08:58:35 EDT 2007


Great. That's what I wanted to know, thanks :)

On 30 Mar 2007, at 13:37, Itamar Shtull-Trauring wrote:

> 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.
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python





More information about the Twisted-Python mailing list