def run(self):
if self.click_events:<EOL><INDENT>self.command_endpoint.start()<EOL><DEDENT>for j in io.JSONIO(self.io).read():<EOL><INDENT>for module in self.modules:<EOL><INDENT>module.inject(j)<EOL><DEDENT><DEDENT>
Run main loop.