warner at lothar.com
Sat Aug 2 02:37:41 EDT 2003
Nicola Larosa <nico at tekNico.net> writes:
> Come to think of it, is there a way in Twisted to schedule an event at an
> absolute time, instead of at a relative one?
reactor.callLater(desiredTime - time.time(), func)
The reactor stores DelayedCalls with absolute times instead of relative ones
internally. The callLater API accepts relative times because that's
generally the most useful to work with.
More information about the Twisted-Python