def _run(self):
self._current_tups = [self.read_tuple()]<EOL>tup = self._current_tups[<NUM_LIT:0>]<EOL>if self.is_heartbeat(tup):<EOL><INDENT>self.send_message({"<STR_LIT>": "<STR_LIT>"})<EOL><DEDENT>elif self.is_tick(tup):<EOL><INDENT>self.process_tick(tup)<EOL><DEDENT>else:<EOL><INDENT>self.process(tup)<EOL><DEDENT>self._current_tups = []<EOL>
The inside of ``run``'s infinite loop.

        Separated out so it can be properly unit tested.