[Twisted-Python] AsynQueue: return deferred from queued method

Stephan Jaeger stephan.jaeger at ewetel.de
Mon Aug 11 10:19:54 EDT 2008


Hello List,

I'm trying to use AsynQueue for queuing requests for a synchronous
protocol (emi/ucp). Is it possible to return a deferred from the queued
method so the next method in the queue is only called after the deferred
from the first was fired? Or is there a better way to handle synchronous
protocols where i have to wait for an answer of a message sent over the
wire before i can send another one?

Thanks,

Stephan





More information about the Twisted-Python mailing list