def process_queue(self):
        curr_time = time.time()
        elapsed = curr_time - self.last_time

        if elapsed < self.seconds:
            wait_ms = int(1000 * (self.seconds - elapsed))
        else:
            wait_ms = 0

        try:
            (fn, params) = self.queue.pop(0)
            self.processing_queue = True
            sublime.set_timeout(lambda: self.call_now(fn, *params), wait_ms)
        except __HOLE__:
            self.processing_queue = False
dataset/ETHPy150Open accerqueira/sublime-test-runner/test_runner/decorators.py/LazyDecorator.process_queue