1 | eventsProcessed( ) function is called after some set of events has been received. |
2 | Some implementations call this function after the return from each EventIn function, while others call it only after processing a number of EventIn functions. |
3 | 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. |