@classmethod<EOL><INDENT>def processEvent(cls, event):<DEDENT>
callbacks = cls.callbacks(type(event))<EOL>keep_going = True<EOL>remove_callbacks = []<EOL>for callback, record, once in callbacks:<EOL><INDENT>if record is not None and record != event.record:<EOL><INDENT>continue<EOL><DEDENT>callback(event)<EOL>if once:<EOL><INDENT>remove_callbacks.append((callback, record))<EOL><DEDENT>if event.preventDefault:<EOL><INDENT>keep_going = False<EOL>break<EOL><DEDENT><DEDENT>for callback, record in remove_callbacks:<EOL><INDENT>cls.removeCallback(type(event), callback, record=record)<EOL><DEDENT>return keep_going<EOL>
Processes the given event by dispatching it to any waiting callbacks.

:param event: <orb.Event>