[Twisted-Python] the sequence of executing defers' callbacks
Terry Jones
terry at jon.es
Thu May 22 20:12:50 MDT 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
http://twistedmatrix.com/projects/core/documentation/howto/defer.html
Terry
More information about the Twisted-Python
mailing list