Reputation: 229461
A Deferred is a pretty wonderful abstraction for a deferred task. I'd like to set something up that is equally elegant for repeated events, e.g. my protocol receives a message and I want different parts of my code to register their callbacks to be called when that message is received. A deferred is inappropriate, here. What is appropriate, in the twisted world?
Upvotes: 2
Views: 95
Reputation: 48335
Tubes. They're not done yet, but you can read some in-development docs and some examples.
Upvotes: 5