[Twisted-Python] callLater -- only when idle

Peter Jacobi pjacobi.de at googlemail.com
Thu Oct 30 18:45:00 EDT 2008

I'd like to schedule a delayed call for being done after n seconds of
idling, i.e. n seconds after the last event was dispatched.

I assume this can be done by resetting  the delayed call from every
event handler, but this seems to be a silly solution.

Any suggestions for a better solution?


More information about the Twisted-Python mailing list