def runAndWait(self):
self._push(self._engine.endLoop, tuple())<EOL>self._driver.startLoop()<EOL>
Called by the engine to start an event loop, process all commands in
the queue at the start of the loop, and then exit the loop.