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

Xian Chen hoganxian at gmail.com
Thu May 22 21:57:49 EDT 2008


Hi All,

This is a fundamental question about Twisted.

In the normal case, all the callbacks belonging to one defer object will be
triggered following the chain sequence. ( Let's assume no errback will be
fired.)

such as callback1--->callbac2--->callbackN.

However, if I want to trigger callback1 when MSG1 is ready, callback2 when
MSG2 is ready, and so on, how can I do that?

Of course, the MSGs are coming at random sequence.

Thanks in advance,
Xian Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20080523/87b0fae8/attachment.htm 


More information about the Twisted-Python mailing list