.. py:class:: Worker(fn, *args, **kwargs) Bases: :py:obj:`autodeer.gui.tools.QtCore.QRunnable` Worker thread Inherits from QRunnable to handler worker thread setup, signals and wrap-up. :param callback: The function callback to run on this worker thread. Supplied args and kwargs will be passed through to the runner. :type callback: function :param args: Arguments to pass to the callback function :param kwargs: Keywords to pass to the callback function .. !! processed by numpydoc !! .. py:attribute:: fn .. py:attribute:: args .. py:attribute:: kwargs .. py:attribute:: signals .. py:method:: run() Initialise the runner function with passed args, kwargs. .. !! processed by numpydoc !!