[Twisted-Python] reactor.run() do not return after reactor.stop()

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Sat Oct 10 16:04:56 EDT 2009

On 04:50 pm, decvar at gmail.com wrote:
>Thanks, but how can I pass control back to calling code after starting 
>reactor? Or the idea is to run it in separate thread? I understand that 
>idea on twisted is async processing, but this time I need to block the
>calling code until response is received.

No, you don't need to block the calling code until the response is 
received.  The main idea on Twisted is async processing.  :)


More information about the Twisted-Python mailing list