Used to register signal at the dispatcher. Note that you can not use alias that already exists.

        :param alias: Alias of the signal. String.
        :param signal: Signal itself. Usually pyqtSignal instance.
        :return:

def register_signal(alias: str, signal: pyqtSignal):
        """
        Used to register signal at the dispatcher. Note that you can not use alias that already exists.

        :param alias: Alias of the signal. String.
        :param signal: Signal itself. Usually pyqtSignal instance.
        :return:
        """
        if SignalDispatcher.signal_alias_exists(alias):
            raise SignalDispatcherError('Alias "' + alias + '" for signal already exists!')

        SignalDispatcher.signals[alias] = signal