Skip to content

Now with TimeoutTimer

Compare
Choose a tag to compare
@lillekemiker lillekemiker released this 10 Jun 15:37

This release adds a TimeoutTimer context manager class to the harrison.timer module.
This class functions as a Timer context manager class but takes a timeout argument as its first argument specifying a number of seconds. If the the context manager has not been exited before that number of seconds, a TimeoutError is raised.