def advance(self):
    '\n        Advance time to next scheduled callback and run that callback\n        '
    if (not self._events):
        return
    event = self._pop_event()
    self._ts.value = event.timestamp
    self._log_time()
    event.callback()
Advance time to next scheduled callback and run that callback
def advance(self):
    '\n        \n        '
    if (not self._events):
        return
    event = self._pop_event()
    self._ts.value = event.timestamp
    self._log_time()
    event.callback()