code: def stop(self, block=False):
      self.pause_wait.set()
      self._continue_thread = False
      if block and not (
          self._thread is None or not self._thread.isAlive()
      ):
          self._thread.join()
      self._state = RepeatedTimer.State.Stopped
  
file_path: tensorwatch/tensorwatch/repeated_timer.py
imports: import threading
  import time
  import weakref
label_desc: Use image node_id 3 for calling the RepeatedTimer obj's underlying member method code with example usage: obj.stop(block) without return types