Register a new thread.

        :param function: Function, which gets called for the new thread
        :type function: function
        :param name: Unique name of the thread for documentation purposes.
        :param description: Short description of the thread

def register(self, name, function, description=None):
        """
        Register a new thread.

        :param function: Function, which gets called for the new thread
        :type function: function
        :param name: Unique name of the thread for documentation purposes.
        :param description: Short description of the thread
        """
        return self.__app.threads.register(name, function, self._plugin, description)