[Twisted-Python] setTimeout in Deferred
maoy at cis.upenn.edu
Tue Mar 8 15:00:50 EST 2005
This is the doc of setTimeout:
"""Set a timeout function to be triggered if I am not called.
@param seconds: How long to wait (from now) before firing the
@param timeoutFunc: will receive the Deferred and *args, **kw as
arguments. The default timeoutFunc will call the errback with a
DON'T USE THIS! It's a bad idea! Use a function called by
to accomplish the same thing!
YOU HAVE BEEN WARNED!
Any reason why not? It seems to me that setTimeout just calls
More information about the Twisted-Python