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

Cameron Dale camrdale at gmail.com
Thu May 22 20:22:56 MDT 2008

On 5/22/08, Xian Chen <hoganxian at gmail.com> wrote:
> 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.

I do something like that, but I could not do it with a single
deferred. I think the only way is to use a deferred per message. Then
callback the appropriate deferred when its message arrives. That's all
I can suggest given the limited information.


More information about the Twisted-Python mailing list