class_docstr: Thread-safe replacement for QTimer.
code: def stop(self):
      isGuiThread = (
          QtCore.QThread.currentThread()
          == QtCore.QCoreApplication.instance().thread()
      )
      if isGuiThread:
          # print "stop timer", self, "from gui thread"
          self.timer.stop()
      else:
          # print "stop timer", self, "from remote thread"
          self.sigTimerStopRequested.emit()
  
imports: from .Qt import QtCore
label_desc: Use image node_id 3 for calling the ThreadsafeTimer obj's underlying member method code with example usage: obj.stop() without return types