def __init__(self, method, stop_if_false=False):
    self.method = method
    self.stopped = threading.Event()
    self.thread = None
    self.stop_if_false = stop_if_false
Initializes the Interval.
dataset/ETHPy150Open google/openhtf/openhtf/util/timeouts.py/Interval.__init__