
March 30, 2007
12:37 p.m.
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.