Processes the given event by dispatching it to any waiting callbacks.

        :param event: <orb.Event>

def processEvent(cls, event):
        """
        Processes the given event by dispatching it to any waiting callbacks.

        :param event: <orb.Event>
        """
        callbacks = cls.callbacks(type(event))
        keep_going = True
        remove_callbacks = []

        for callback, record, once in callbacks:
            if record is not None and record != event.record:
                continue

            callback(event)
            if once:
                remove_callbacks.append((callback, record))

            if event.preventDefault:
                keep_going = False
                break

        for callback, record in remove_callbacks:
            cls.removeCallback(type(event), callback, record=record)

        return keep_going