[Twisted-Python] the sequence of executing defers' callbacks

Terry Jones terry at jon.es
Thu May 22 22:12:50 EDT 2008

>>>>> "Xian" == Xian Chen <hoganxian at gmail.com> writes:

Xian> However, if I want to trigger callback1 when MSG1 is ready, callback2
Xian> when MSG2 is ready, and so on, how can I do that?
Xian> Of course, the MSGs are coming at random sequence.

Hi Xian

Do you have multiple functions that are returning these MSGx results?
If so, it sounds like you might be looking for DeferredList. See the
docs at



More information about the Twisted-Python mailing list