(self, interval, action)
| 10 | |
| 11 | class setInterval: |
| 12 | def __init__(self, interval, action): |
| 13 | self.interval = interval |
| 14 | self.action = action |
| 15 | self.stopEvent = threading.Event() |
| 16 | thread = threading.Thread(target=self.__setInterval) |
| 17 | thread.start() |
| 18 | |
| 19 | def __setInterval(self): |
| 20 | nextTime = time.time() + self.interval |
nothing calls this directly
no outgoing calls
no test coverage detected