Part of twisted.internet.task View Source View In Hierarchy
Instance Variables | f | The function to call. |
a | A tuple of arguments to pass the function. | |
kw | A dictionary of keyword arguments to pass to the function. Iff returns a deferred, rescheduling will not take place
until the deferred has fired. The result value is ignored.
|
Method | _callLater | Undocumented |
Method | __init__ | Undocumented |
Method | start | Start running function every interval seconds. |
Method | stop | Stop running function. |
Method | __call__ | Undocumented |
Method | _reschedule | Undocumented |
Method | __repr__ | Undocumented |
Parameters | interval | The number of seconds between calls. May be less than one. Precision will depend on the underlying platform, the available hardware, and the load on the system. |
now | If True, run this call right now. Otherwise, wait until the interval has elapsed before beginning. | |
Returns | A Deferred whose callback will be invoked with self when
self.stop is called, or whose errback will be invoked when
the function raises an exception or returned a deferred that has its
errback invoked.
|