Searched refs:delayfunc (Results 1 – 2 of 2) sorted by relevance
53 def __init__(self, timefunc=_time, delayfunc=time.sleep): argument59 self.delayfunc = delayfunc131 delayfunc = self.delayfunc149 delayfunc(time - now)152 delayfunc(0) # Let other threads run
18 .. class:: scheduler(timefunc=time.monotonic, delayfunc=time.sleep)23 units whatsoever). The *delayfunc* function should be callable with one25 time units. *delayfunc* will also be called with the argument ``0`` after each30 *timefunc* and *delayfunc* parameters are optional.112 Run all scheduled events. This method will wait (using the :func:`delayfunc`120 Either *action* or *delayfunc* can raise an exception. In either case, the