(self, timeout, callback)
| 55 | |
| 56 | class WaitableTimer(Timer): |
| 57 | def __init__(self, timeout, callback): |
| 58 | Timer.__init__(self, timeout, callback) |
| 59 | self.callback = callback |
| 60 | self.event = Event() |
| 61 | |
| 62 | self.final_exception = None |
| 63 | |
| 64 | def finish(self, time_now): |
| 65 | try: |