This module contains an implementation to run a certain function repeatedly until a timeout is reached
Timer
Bases: threading.Thread
threading.Thread
Timer that runs two functions, one every n1 seconds and the other every n2 seconds, using only one thread
cancel_all
Cancel the timer.
run
Exec the function and restart the timer.