code: def __init__(self, secs, callback, count=None):
      self.secs = secs
      self.callback = weakref.WeakMethod(callback) if callback else None
      self._thread = None
      self._state = RepeatedTimer.State.Stopped
      self.pause_wait = threading.Event()
      self.pause_wait.set()
      self._continue_thread = False
      self.count = count
  
file_path: tensorwatch/tensorwatch/repeated_timer.py
imports: import threading
  import time
  import weakref
label_desc: Use image node_id 1 to create a new RepeatedTimer object  with example: obj = RepeatedTimer(secs, callback, count)