[Twisted-Python] Timing Out Deferreds

James Y Knight foom at fuhm.net
Fri Feb 25 16:22:47 EST 2005

On Feb 25, 2005, at 2:53 PM, Ken Kinder wrote:
> I've been trying to figure out an intelligent way of timing out 
> deferreds.

No, a deferred is just a chain of callbacks -- it doesn't really make 
sense to time out a chain of callbacks. You need to time out the 
*source* operation that is planning on eventually calling the deferred. 
The process of killing the source operation ought to additionally cause 
the deferred's errback to be called.


More information about the Twisted-Python mailing list