
July 31, 2003
3:14 a.m.
On Thu, Jul 31, 2003 at 08:53:01AM +0200, Nicola Larosa wrote:
What about a StepReactor?
It would be great to be able to stop time, have a means to look at the event queue and to say "DispatchNextEvent" by hand. Or even better, "PushTimeForward(x)" and see what happens. In short, a simulator.
This assuming, of course, that all other parts of the system are pausable, be they internal or external.
Is reactor.iterate[1] sufficient for this? -Andrew. [1] http://twistedmatrix.com/documents/api/public/twisted.internet.interfaces.IR...