EventIn Handling - eventsProcessed() - I
eventsProcessed( ) function is called after some set of events has been received.
Some implementations call this function after the return from each EventIn function, while others call it only after processing a number of EventIn functions.
In the latter case, an author can improve performance by placing lengthy processing algorithms which do not need to execute for every event received into the eventsProcessed( ) function.