code: def __init__(self, queued):
      pg.QtCore.QObject.__init__(self)
      if queued:
          self.signal.connect(
              self.run, pg.QtCore.Qt.ConnectionType.QueuedConnection
          )
      else:
          self.signal.connect(self.run)
  
imports: import sys
  import queue
  import functools
  import threading
  import pyqtgraph
  import pyqtgraph.console
  from pyqtgraph.Qt import QtWidgets
  from pyqtgraph.debug import threadName
label_desc: Use image node_id 1 to create a new SignalEmitter object from inherited base classes: pg.QtCore with example: obj = SignalEmitter(queued)