Emit the signal.

        :param args: The arguments.
        :param kwargs: The keyword arguments.

        All the connected callbacks will be called synchronously in order of
        their registration.

def emit(self, *args, **kwargs):
        """
        Emit the signal.

        :param args: The arguments.
        :param kwargs: The keyword arguments.

        All the connected callbacks will be called synchronously in order of
        their registration.
        """
        for callback in self.callbacks:
            callback(*args, **kwargs)