Like Executor.begin, conceived for initialization, Executor.end comes
handy for encapsulated cleanups and reset operations.
On the other hand, a trivial test has been added. Every time the world is
proccessed a counter is incremented by one. Once its value is over 2 -
checked by Operation.isComplete- the operation will end and the value will
be reset to -1.
Like Executor.begin, conceived for initialization, Executor.end comes handy for encapsulated cleanups and reset operations. On the other hand, a trivial test has been added. Every time the world is proccessed a counter is incremented by one. Once its value is over 2 - checked by Operation.isComplete- the operation will end and the value will be reset to -1.