On Wed, Oct 7, 2009 at 6:04 PM, Phil Christensen <p...@bubblehouse.org>wrote:

>
> Paul's example will work just fine. Also, AFAIK there's no existing
> twisted function to do replicate an asynchronous sleep() in this way.
>
> -phil
>

What about Deferred.setTimeout?
http://twistedmatrix.com/documents/current/api/twisted.internet.defer.Deferred.html#setTimeout
IMHO it solves similar problem.

-- 
Mikhail Terekhov
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to