Helper class for handling the signals and slots when an action is running. This class takes a generator and iterates it within the model thread while taking care of Exceptions raised and ActionSteps yielded by the generator.
This is class is intended for internal Camelot use only.
Reimplementation of exec_ to prevent the event loop being started when exit has been called prior to calling exec_.
This can be the case when running in single threaded mode.
Reimplementation of exit to store the return code